Update role details

PUT {{baseUrl}}/roles/:id

Updates the parent role and/or the name of a specific role.

Request Body

{"parent_role_id"=>"<integer>", "name"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:true,&quot;data&quot;:{&quot;id&quot;:2}}