API reference
</>API referenceCancel a pending BYOD connection
POST
Check setup and cancel an eligible existing-domain connection before activation.
Requires the separate customer API write flag. A changed preview or ineligible connection returns a conflict.
Required scope: domains:disconnect:write.
bearerAuthheader
AuthorizationBearer <token>Scoped GoodInboxes API token
id*stringOwned resource UUID.
application/json- body
preorderDomainId*stringExact connection attempt ID from the preview.
expectedAmountCents*integerExact wallet refund amount from the preview in USD cents.
Range
0 <= value <= 2147483647consent*booleanTrue after approval of the domain, pending inbox cancellation and exact refund.
Confirmed cancellation and its wallet credit receipt. Exact retries recover the saved receipt without a second refund.
application/json- response
data*Confirmed cancellation and its wallet credit receipt. Exact retries recover the saved receipt without a second refund.
requestId?stringcurl -X POST "https://example.com/api/v1/domains/string/disconnect" \ -H "Content-Type: application/json" \ -d '{ "preorderDomainId": "string", "expectedAmountCents": 0, "consent": true }'{ "data": {}, "requestId": "string"}