Update Role
PATCH/roles/:role_id
Partially update a role's name, description, and/or permissions. Built-in roles are read-only: renaming one answers 422 and changing its permissions answers 409 (copy it as a custom role with POST /roles/{role_id}/copies instead); its description may still be edited. Responds 404 for an unknown role and 409 when the new name clashes with an existing role.
Request
Responses
- 200
- 422
Successful Response
Validation Error