Delete a Particular Shared Domain
DELETE /v2/shared_domains/:guid
Request
Route
DELETE /v2/shared_domains/a5a8dd53-df40-45a0-b04b-1cdc71bdc545
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.
|
|
|
|
name
|
The name of the domain.
|
|
|
- example.com
- foo.example.com
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/shared_domains/a5a8dd53-df40-45a0-b04b-1cdc71bdc545" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1NSIsImVtYWlsIjoiZW1haWwtMTgzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzE2NDY2Mzh9.F9ewh-DuwoLZWZXYp_pak0Y6aE0R1zLepvWUzg6stE4" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers