Create Custom User Role

POST {{baseUrl}}/v2/roles

Creates a new custom user role

Request Body

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

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&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;}}