Update Existing Role
PUT
https://api.ssojet.com/api/v1/roles/{{roleId}}
Update Exiating Role Details
roleId
path parameter with the ID of the role you wish to modify, and set the client_id
query parameter to the appropriate string value.Request Body
name
(string): The name of the role.slug
(string): The slug of the role.description
(string): The description of the role.permission_id
(array of strings): An array containing the IDs of the permissions associated with the role.Response
Request
Query Params
client_id
string
required
Example:
string
Header Params
accept
string
required
Example:
*/*
accept-language
string
required
Example:
en-US,en;q=0.9
content-type
string
required
Example:
application/json
user-agent
string
required
Example:
SSOJET API
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