Skip to content
PUT /scim/v2/Users/{id}

Updates userName, name.formatted, externalId and active. active: false removes the user from the team.

Path Parameters

idstring
required

Response Body

activeboolean

Whether the user is an active member of the team.

externalIdstring

The identity provider's ID for the user.

idstring

The Truto user ID.

metaobject
createdstring · date-time
lastModifiedstring · date-time
locationstring
resourceTypestring
Possible values:
UserGroup
nameobject
formattedstring

The user's name, or their email address when no name is set.

schemasstring[]
Example: ["urn:ietf:params:scim:schemas:core:2.0:User"]
userNamestring

The user's email address, lowercased.

Example: jane@example.com
curl -X PUT 'https://api.truto.one/scim/v2/Users/{id}' \
  -H 'Authorization: Bearer <your_api_token>' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.truto.one/scim/v2/Users/{id}', {
  method: 'PUT',
  headers: {
    'Authorization': 'Bearer <your_api_token>',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import requests

url = "https://api.truto.one/scim/v2/Users/{id}"
headers = {
    "Authorization": "Bearer <your_api_token>",
    "Content-Type": "application/json",
}
params = {
}

response = requests.put(url, headers=headers, params=params)
print(response.json())