Update a user in a team
patch/api/v1/teams/{teamId}/users/{userId}Update a specific user's properties within a team by providing the team ID, user ID, and the updated user information.
Code snippet
curl -X 'PATCH' \
'https://{yourdomain}/api/v1/teams/{teamId}/users/{userId}' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}' \
-H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
-d '{
"data": {
"canIncludeInAutoAssignment": true
}
}'
Path parameters
| teamIdintRequired | Unique identifier of the team containing the user to be updated. |
| userIdintRequired | Unique identifier of the user to be updated within the team. |
Request body
| canIncludeInAutoAssignmentboolean | Determines whether the user can be automatically assigned to records within this team. Set to true to enable automatic assignment or false to disable it. |
Example response
200 Success
{
"message": "User updated in the team successfully."
}