Delete a Particular Domain (deprecated)
DELETE /v2/domains/:guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the domain.
|
|
|
|
name
|
The name of the domain.
|
|
|
- example.com
- foo.example.com
|
wildcard
|
Allow routes with non-empty hosts
|
|
|
|
owning_organization_guid
|
The organization that owns the domain. If not specified, the domain is shared.
|
|
|
|
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Domain
|
|
|
async
|
Will run the delete request in a background job. Recommended: 'true'.
|
|
|
Request
Headers
Route
DELETE /v2/domains/c3511de3-31ef-4e33-a06f-eb12cd125e22
cURL
curl "https://api.[your-domain.com]/v2/domains/c3511de3-31ef-4e33-a06f-eb12cd125e22" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMxIiwiZW1haWwiOiJlbWFpbC0yNEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE2NTI2Njk2fQ.Q6vtBcwTkTfikr7_LIVU7-jrBTXaYl2b3lmuXiNeejA" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
204 No Content