resource-groups
Change user role
Changed onChange the role of a user in a resource group. In a SCIM-managed resource group, pass resetToScimRole to undo a manual role change and restore the role mapped from the user's SCIM groups.
Use the inherit role to give the member the same role they have in the organization, following it when it changes.
Requires the org to have a Team plan or higher.
patch/api/organizations/{name}/resource-groups/{resourceGroupId}/users/{username}
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/api/organizations/{name}/resource-groups/{resourceGroupId}/users/{username}
- Auth: HTTP bearer
Path parameters
namestring required
resourceGroupIdstring required
usernamestring required
Request body
Response
The updated resource group
Changes
- warning
added the new
inheritenum value to the//response property for the response status - info
added the new
inheritenum value to the request property/ - info
added the required property
//to the response with the status
- warning
- info
added the optional property
//to the response with the status
- info