AladiaDocs
Api referenceRooms

Delete a room

DELETE
/v2/rooms/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Query Parameters

deleteForAll?boolean
leave?boolean

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X DELETE "https://example.com/v2/rooms/string" \  -H "Content-Type: application/json" \  -d '{    "request": {}  }'
{  "resource": {},  "request": {},  "webhookEventName": "course.created",  "deleted": true}