Update a user
Changed onUpdates a user in your organization.
:::info Only users of type person can be updated. :::
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/user/{id}
- AuthHTTP bearer
Path parameters
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"
}
}Changes
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
messagedeprecated - info
response property
messagedeprecated - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking