Suspend customer user.

To update customer user status to Suspended. Status preconditions: The user must be in Active or Pending status. Suspending a user who is already Suspended or Locked will return an error.

SecurityoAuth2
Request
path Parameters
customerId
required
string

Customer unique identifier and which is associated with the token legal entity.

userId
required
string

Customer user unique identifier. It should be associated with the requested legal entity.

Responses
204

The user status updated successfully.

400

Bad request

401

You are not authorized to access the resource

403

Accessing the resource you were trying to reach is forbidden

404

The resource you were trying to reach is not found

500

Internal server error

503

Service unavailable

default

Update user status

put/api/user-management/v1/customers/{customerId}/users/{userId}/suspend
Request samples
Response samples
application/json
{
  • "message": "Users details not found in the system."
}