Delete Domain
This request deletes a domain, targeted by secure ID.
delete | /shortener/domains/{domain_sid} |
Sample
A sample DELETE request to delete a domain, targeted by secure ID:
curl -X DELETE \
'https://api.carrierx.com/core/v2/shortener/domains/a0625551-63de-428e-889d-2d467b4e77a3' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
204
status code with an empty body.
warning
When you delete a domain, all the links associated with it are also deleted.
Required Scopes
To delete a Domain object, the partner must have one of the following scopes enabled:
shortener.manage
shortener.delete
Path Arguments
Parameter | Data Type | Description |
---|---|---|
domain_sid required | string | The secure ID of the domain. |