Domain

Revoke Domain

POST /v1/domain/{id}/revoke

POST/v1/domain/{id}/revoke
POST
/v1/domain/{id}/revoke

Restore a previously deleted domain (undo delete)

Undo a prior DELETE /v1/domain/{id} call. Restores a domain whose status is "deleted" back to "active" and releases the reserved AnnualFlexi slot (if one was created at deletion time).

Preconditions: The domain must currently be in status: "deleted". Calling revoke on an active, inProgress, failed, or expired domain is rejected.

Semantics — revoke vs. delete: DELETE /v1/domain/{id} moves an active domain into deleted; POST /v1/domain/{id}/revoke moves a deleted domain back to active. Revoke acts on a single domain — it does not affect sibling domains in the same order.

Use domains[].id from GET /v1/domain.

Authorization

x-api-key<token>

API key for Open API authentication

In: header

Path Parameters

idstring

Hashid-encoded domain ID from GET /v1/domain.

Responses

201
Domain revoked successfully

Request

curl -X POST \
  "https://open-api.saleshandy.com/v1/domain/{id}/revoke" \
  -H "x-api-key: YOUR_API_KEY"

Response

No response body