Delete a Particular Domain (deprecated)
DELETE /v2/domains/:guid
Request
Route
DELETE /v2/domains/5f8e1056-dc5f-420d-bb20-4fda0d3054e1
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'.
|
|
|
Body
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.
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/domains/5f8e1056-dc5f-420d-bb20-4fda0d3054e1" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyOCIsImVtYWlsIjoiZW1haWwtNzRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0MTY2MjU5OH0.AC4lSd6Rk0giamr96dGql5Q8ScTDsHIsSmqI3638OzM" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers