Delete a Particular Private Domain
DELETE /v2/private_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
|
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 Private Domain
|
|
|
async
|
Will run the delete request in a background job. Recommended: 'true'.
|
|
|
Request
Headers
Route
DELETE /v2/private_domains/e43b24f9-3b6e-4315-9f05-4b5460d566e8
cURL
curl "https://api.[your-domain.com]/v2/private_domains/e43b24f9-3b6e-4315-9f05-4b5460d566e8" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTciLCJlbWFpbCI6ImVtYWlsLTdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyMjk5MDg2Mn0.kTvIZG8xHn-nID-oUVZh3jujhCANSJclJ6lJAhHkOUg" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
204 No Content