Skip to main content

Actively Destroy an RTC Room

If an RTC room is no longer needed, you can proactively call this API to destroy it.

All members will be kicked out of the room upon destruction.

Request Method

DELETE: https://data center domain/v2/rtc/rooms/{room_id}

Signature Rule: All requests to RC server APIs require signature verification. For details, see API Request Signature.

Path Parameters

The HTTP request path includes the following parameters:

ParameterTypeRequiredDescription
room_idStringYesThe ID of the RTC room to be destroyed

Request Example

DELETE /v2/rtc/rooms/rtcroom001 HTTP/1.1
Host: api.rong-api.com
RC-App-Key: xxxxxxxxxx
RC-Timestamp: 1408710653491
RC-Nonce: 14314
RC-Signature: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Content-Type: application/json

Response

FieldTypeDescription
codeNumberStatus code. 10000 indicates success.

Response Example

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
"code":10000,
}