v1

latestOpenAPI 3.1.02026-07-241653251.3 MB
Customer Accounts (MTA)

Close customer account

Closes an existing customer account

post/accounts/{zrn}/close

Path parameters

zrnstring required

The ZRN of the customer account to close. The ZRN must be in the format: zrn:zh:eu:account:customer:<uuid>

Headers

X-SCX-SIGNEDstring required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

X-SCX-TIMESTAMPstring required
Example:1678901234

Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.

Request body

CloseCustomerAccountBody required

Response

Request to close the customer account accepted. Closure is applied asynchronously; clients should listen for the customer_account_status_changed webhook event to observe the new state.

object required

Empty JSON object.