Update Custom User Role

PUT {{baseUrl}}/v2/roles/:identifier?identifierType=id

Updates the custom user role using role 'id' or 'name'

Request Params

KeyDatatypeRequiredDescription
identifierTypestringType of the identifier that is provided as an in-line parameter. Possible values are 'id' or 'name'

Request Body

{"name"=>"<string>", "extendedRole"=>"<string>", "grantedRights"=>["<string>", "<string>"], "disallowedRights"=>["<string>", "<string>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;requestId&quot;:&quot;ipsum Excepteur magna ut&quot;,&quot;took&quot;:0,&quot;result&quot;:&quot;ipsum culpa&quot;,&quot;data&quot;:{&quot;id&quot;:&quot;nulla dolor Lorem non&quot;,&quot;name&quot;:&quot;dolor magna sunt consequat&quot;}}