# hangUp

Description: end an ongoing call or conference, incoming or outgoing call.

Request example:

{
    "method" : "hangUp",
    "requestId" : "1",
    "forAll" : false
}

Response example:

{
    "method" : "hangUp",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • forAll — the flag indicating if it is necessary to end the conference for all participants. This field will be available when VideoSDK/Room is in a group conference and has the role of an owner, operator, or moderator. In other cases, this field will not be available.

  • requestId - a unique request identifier. You can learn more about it here.

See also: