Editing an existing role
PUT
Editing an existing role. Role fields with new values are passed in the request body. Examples of fields and their values can be found here
Parameters
Path Parameters
roleId*
roleId
Type
Requiredinteger
Format
"int32"Request Body
application/json
active
boolean
code
string
fromAuthServer
boolean
id
integer
Identifier
Format
"int32"info
string
Role Description
name
string
Role name
position
integer
Role position in the list
Format
"int32"Responses
OK
*/*
EmptyResponse
object
data
string
If the element was successfully removed, then this parameter returns an empty string
status
string
Upon successful deletion of an element in the directory, the status "ok" is returned. Otherwise, an error is returned
Valid values
"error""ok"timestamp
integer
Returns the date + time (kernel) in unix timestamp format in milliseconds
Format
"int64"