Update the Role
Modify the properties of an existing role
Path Parameters
- roleId int32 required
Role Id
- application/json
Request Body
- newName string
new name of the role
permissionList object[]
Used to update the list of permissions associated with the role.
permission object
id int32name stringcategory object
id int32name string- enabled boolean
Used to determine if the role is enabled or disabled.
- visibleToAll boolean
Determines if the role is visible to everyone.
security object[]
Used to update the security association for the role
user object
id int32name stringuserGroup object
id int32name stringrole object
id int32name string
Responses
- 200
- 400
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Bad Request
Requested Details not found
Loading...