Delete Trunk Group
This request deletes the trunk group, targeted by secure ID.
delete | /trunk_groups/{trunk_group_sid} |
Sample
A sample DELETE request to delete a trunk group:
curl -X DELETE \
'https://api.carrierx.com/core/v2/trunk_groups/c7eae0b4-5eda-4964-8998-d514903b4af0' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
204
status code with an empty body.
note
All Trunks that have been created under the selected trunk group will be deleted as well.
Required Scopes
To delete a Trunk Group object, the partner must have one of the following scopes enabled:
trunk_groups.manage
trunk_groups.delete
Path Arguments
Parameter | Data Type | Description |
---|---|---|
trunk_group_sid required | string | The secure ID of the trunk group to be deleted. |