POST
Block an account

Authorizations

Authorization
string
header
required

The user's id_token from authentication — the ID token, not the access_token. The program and environment come from the token.

Path Parameters

customerId
string
required

The customer's ID.

accountId
string
required

The account's ID.

Body

application/json
reason
string
required

Required. Why the status is changing — stored on the account's status history.

Minimum string length: 1

Response

Status changed

success
boolean
Example:

true

data
object