User
Update a user
Updates a user in your organization.
:::info Only users of type person can be updated. :::
put/user/{id}
Path parameters
idinteger required
The ID of the user you want to update.
ℹ️ Note: Only users of type person can be updated.
Request body
Example request
{
"status": "active",
"email": "alex.doe@email.com",
"first_name": "Alex",
"last_name": "Doe",
"organization_id": 1234,
"avatar": "https://my-avatar-url.com"
}Response
The operation was successful.
Example response
{
"id": 123456,
"email": "alex.mgr@crypto-inc.com",
"first_name": "Alex",
"last_name": "Doe",
"organization_id": 1234,
"status": "active",
"avatar": "https://my-avatar-url.com",
"type": "person",
"provider": "cognito",
"nrn": "organization=123",
"send_invite": true,
"metadata": {
"key": "value"
}
}