Delete

To delete an existing room you need to execute a DELETE request against the /rooms/:id endpoint.

The id uniquely identifies the room and you can find it in the create room response.

You can set the expires_at room property which will automatically delete the room after the specified date and time is reached. For example - "expires_at": "2024-09-05 12:30:00"

Request

curl --request DELETE \
  --url https://api.digitalsamba.com/api/v1/rooms/c39d7c40-7ff7-4faa-b06f-698a639a9523 \
  --user YOUR_TEAM_ID:YOUR_DEVELOPER_KEY

Response (204 -> No Content)

Response is empty because the room was deleted and there is no content to return.

Last updated