Delete Domain

DELETE/v1/payment-methods/{payment_method}/domains/{domain_id}

Unregisters a domain from the wallet provider and marks the registration as INACTIVE, freeing its slot on the connection. Use it to remove domains you no longer use before registering new ones. The domain must be in CREATED, REGISTERED or ERROR status. A deleted domain cannot be restored: register it again if you need it back.

Path Parameters

payment_methodstringrequired

Payment method the domain was registered for.

domain_idstringrequired

The id of the domain registration (UUID), as returned by Register domain.

Body application/json

reasonstring

Optional free-text reason kept for audit purposes. Defaults to Removed via API.

Response

No Content: the domain was unregistered (body is empty).

Invalid parameters, or the domain is already INACTIVE.

codestring
messagesstring[]

No domain with that id exists for your organization.

codestring
messagesstring[]