Update user

Update the details of a user.

SecurityJWT
Request
header Parameters
Workspace
required
string

The workspace identifier, which isolates API requests inside the provided workspace scope.

Example: corodevonmicrosoftcom_TX7T_u
Request Body schema: application/json
email
required
string

The user's email address.

protectedUser
required
boolean

The protection status of the user.

Responses
200

Success

400

Bad request, validation error

401

Unauthorized request

403

Access forbidden

429

Too Many Requests

500

Internal server error

put/v1/users
Request samples
application/json
{
  • "email": "corotest@corotest.com",
  • "protectedUser": true
}
Response samples
application/json
{
  • "id": "62ff9653efef4b3ae04ab25e",
  • "email": "test@test.com",
  • "name": "Harry Owen",
  • "protectedUser": true
}