Skip to main content
DELETE
/
room_compositions
/
{room_composition_id}
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});

await client.roomCompositions.delete('5219b3af-87c6-4c08-9b58-5a533d893e21');
{
  "code": "<string>",
  "title": "<string>",
  "detail": "<string>",
  "source": {
    "pointer": "<string>",
    "parameter": "<string>"
  },
  "meta": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

room_composition_id
string<uuid>
required

The unique identifier of a room composition.

Example:

"5219b3af-87c6-4c08-9b58-5a533d893e21"

Response

The resource was deleted successfully.