Room Management – Delete Room
Permanently delete a room and all its associated data. This action cannot be undone.
Authentication
Include the token in the Authorization
header:
Authorization: Bearer <YOUR_AUTH_TOKEN>
Endpoint
DELETEhttps://api.samvyo.com/api/roomSetting/:id
Replace :id
with the actual room ID you want to delete.
Required Headers
Content-Type: application/json
Authorization: Bearer <YOUR_AUTH_TOKEN>
Example Requests
JavaScript (fetch)
const roomId = '1234567890';
const res = await fetch(`https://api.samvyo.com/api/roomSetting/${roomId}`, {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
'Authorization': `Bearer ${authToken}`
}
});
const data = await res.json();
cURL
curl -X DELETE \
'https://api.samvyo.com/api/roomSetting/1234567890' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <YOUR_AUTH_TOKEN>'
Success Response
{
"type": "deleteRoomSettingById",
"success": true
}
Notes
- Permanent Action: This action permanently deletes the room and cannot be undone
- Active Meetings: If the room is currently in use, the deletion may be delayed until the meeting ends
- Associated Data: All room settings, recordings, and meeting history will be permanently removed
- Room ID: Make sure you have the correct room ID before deletion