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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"success":true,"data":{"id":2}}