Delete a Particular Shared Domain
DELETE /v2/shared_domains/:guid?
Request
Route
DELETE /v2/shared_domains/f01b174d-c750-46b0-9ddf-3aeb2064d796?
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Shared 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.
|
|
|
|
router_group_guid
|
The guid of the router group.
|
|
|
|
name
|
The name of the domain.
|
|
|
- example.com
- foo.example.com
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/shared_domains/f01b174d-c750-46b0-9ddf-3aeb2064d796?" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwOCIsImVtYWlsIjoiZW1haWwtNzVAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0OTUzMTUxNX0.G6H-c538CR_FB7PnXN6yyhRvTDfo3mWlTx8yaMzGVTk" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers