Update User Roles
PATCH
/admin/users/{userId}/roles
Update Roles of User
Authorizations
httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)
Parameters
Path Parameters
userId*
UserId to Update
Type
Requiredstring
Request Body
application/json
JSON "string"
[
]
Responses
application/json
JSON "user": "string", "isAdmin": true, "apiKey": "string", "roles": [ "string" ], "grants": [ { "name": "string", "read": true, "write": true, "administrate": true, "grantType": "COLLECTION" } ], "email": "string", "emailVerified": true, "displayName": "string", "identities": [ { "provider": "string", "subject": "string", "email": "string" } ], "disabled": true, "lastLoginAt": "2024-01-01T00:00:00Z", "mfaEnabled": true
{
}
