Subaccounts

Update an operator

Updates operator. If the operator was disabled and their password is updated they will be unblocked.

put/v0.1/me/accounts/{operator_id}

Path parameters

operator_idinteger required

The unique identifier for the operator.

Request body

passwordstring
usernamestring email
disabledboolean
nicknamestring

Example request

{
  "password": "correct horse batter staple",
  "nickname": "Operator 1"
}

Response

Updated operator.

idinteger required
usernamestring required
nicknamestring nullable
disabledboolean required
created_atstring date-time required

The timestamp of when the operator was created.

updated_atstring date-time required

The timestamp of when the operator was last updated.

account_type'operator' | 'normal' required

Example response

{
  "username": "operator1@mydomain.com",
  "nickname": "Operator 1"
}

Changes