v1

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

Lock customer account

Locks an existing customer account

post/accounts/{zrn}/lock

Path parameters

zrnstring required

The ZRN of the customer account to lock. 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

LockCustomerAccountBody required

Response

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

object required

Empty JSON object.