Delete Organization
DELETE
https://deploygate.com/api/organizations/{ORGANIZATION_NAME}
Caution
- When deleting your Organization, all teams and applications contained within that Organizations are also deleted.
- Organizations created for Startup, Business, and Large Business Plans under contract cannot be deleted. PayPal and/or invoices must be settled and cancelled for the contract to be terminated.
Path Params
Name | Type | Required | Description |
---|---|---|---|
ORGANIZATION_NAME | string | true | Organization Name |
Example
curl \
-X DELETE \
--url "https://deploygate.com/api/organizations/${ORGANIZATION_NAME}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"
Result 204
{
"error": false,
"results": {
"message":"the organization was removed successfully"
}
}
Result 404
{
"error": true,
"message": "invalid organization name",
"because": "invalid organization name"
}