Skip to main content

Patch a role

PUT 

/api/v4/roles/:role_id/patch

Partially update a role by providing only the fields you want to update. Omitted fields will not be updated. The fields that can be updated are defined in the request body, all other provided fields will be ignored.

Permissions

Must have sysconsole_write_user_management_permissions or manage_system permission. When updating the role of a system admin, the manage_system permission is mandatory.

Minimum server version: 4.9

Request

Responses

Role patch successful