Manage User Roles
PUT
https://api.ssojet.com/api/v1/users/{{userid}}/roles
Manage User Roles
Request Body
role_id
(array, required): The role ids of the role which need to upate in the profile.Response
{
"_id": "string",
"account_id": "string",
"connection_id": "string",
"email": "string",
"first_name": "string",
"last_name": "string",
"groups": "arrary",
"raw_attributes": "any",
"roles": "arrary",
"passkey_credential": "object",
"phone_id": "string",
"created_at": "date",
"modified_at": "date",
"email_verified": boolean,
"is_active": boolean,
"LastLoginAt":"date",
"tenants": object,
"identities": "arrary"
}
Request
Query Params
client_id
string
required
Header Params
Cookie
string
optional
Example:
{{sj_cookie}}
Content-Type
string
optional
Default:
application/json
User-Agent
string
optional
Default:
SSOjet/1.0.0 (https://ssojet.com)
Body Params application/json
Request samples
Responses
Modified at 2024-07-22 11:04:03