Skip to main content
POST
Remove cancelled domains from their Microsoft tenant
Cancelling a domain never removes it from its Microsoft tenant. Call this only when you want the domain detached, after its inboxes have ended. 202 means the removal was handed off, not finished; send the same request with the same Idempotency-Key to read its status.

Authorizations

Authorization
string
header
default:Bearer pk_test_<your-test-key>
required

Partner API key (pk_live_… or pk_test_…).

Headers

Idempotency-Key
string
required

Up to 256 characters. Reuse it only with the same domain list.

Maximum string length: 256

Path Parameters

id
string
required

Order ID (ord_…).

Example:

"ord_01HZX0OR1A2B3C4D5E6F7G8H"

Body

application/json
domains
string[]
required

Microsoft domains on this order (dom_… ID or name).

Required array length: 1 - 100 elements
Maximum string length: 256
Example:

Response

Every domain reached a final status.

data
object
required