Block a customer account
post/customer-accounts/{id}/block
Block a customer account: every session ends and sign-in stops, without saying why to the customer. A person's decision; an agent needs a person's approval for this exact call.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
contacts:write- Graphql
Mutation.contactsCustomerAccountBlock- Sdk
contacts.customerAccount.block- Cli
contacts customer account block
Parameters
- idstringrequiredIn the path
Request bodyapplication/json, required
- reasonstringDefault: . At most 300 characters.
Responses
- 200application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring