GoodInboxes Developers
API reference
</>API reference

Preview BYOD cancellation and its wallet refund

GET
/api/v1/domains/{id}/disconnect

Check setup and cancel an eligible existing-domain connection before activation.

Requires the separate customer API write flag.

Required scope: domains:disconnect:write.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Scoped GoodInboxes API token

Path Parameters

id*string

Owned resource UUID.

Response Body

Eligibility, pending inbox count, connection attempt ID, and exact wallet refund in cents. An already-cancelled attempt returns its saved receipt.

application/json
  1. response
data*

Eligibility, pending inbox count, connection attempt ID, and exact wallet refund in cents. An already-cancelled attempt returns its saved receipt.

requestId?string
curl -X GET "https://example.com/api/v1/domains/string/disconnect"
{  "data": {},  "requestId": "string"}