Delete Endpoint
This request deletes an endpoint, targeted by secure ID, from a partner account.
delete | /endpoints/{endpoint_sid} |
Sample
A sample DELETE request to delete the endpoint, targeted by secure ID:
curl -X DELETE \
'https://api.carrierx.com/core/v2/endpoints/1a34c5e9-3a09-4de5-b553-5f6a9ef202ac' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
204
status code with an empty body.
note
Note that the System Gateway endpoint, which is automatically generated when a new partner is created, should not be deleted.
Required Scopes
To delete an Endpoint object, the partner must have one of the following scopes enabled:
endpoints.manage
endpoints.delete
Path Arguments
Parameter | Data Type | Description |
---|---|---|
endpoint_sid required | string | The secure ID of the endpoint to be removed. |