scim
Update SCIM user
Changed onUpdates a provisioned user, you'll need to provide all their information fresh - just like setting them up for the first time. Any details you don't include will be automatically removed, so make sure to include everything they need to keep their account running smoothly. Setting active to false will deprovision the user from the organization.
put/api/organizations/{name}/scim/v2/Users/{userId}
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/api/organizations/{name}/scim/v2/Users/{userId}
- Auth: HTTP bearer
Path parameters
namestring required
userIdstring required
Request body
Example request
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
]
}Response
SCIM User
Example response
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"id": "123",
"externalId": "unique-identifier",
"userName": "username",
"displayName": "username (equals to userName)",
"name": {
"givenName": "John",
"familyName": "Doe",
"formatted": "John Doe"
},
"emails": [
{
"value": "john.doe@example.com",
"primary": true,
"type": "work"
}
],
"active": true,
"meta": {
"resourceType": "User",
"location": "https://huggingface.co/api/organizations/:name/scim/v2/Users/:id"
}
}Changes
- breaking
the
//response's property type changed from no type tostringfor status - breaking
the
/response's property type changed from no type tostringfor status - breaking
the
/response's property type changed from no type tostringfor status
- breaking