revoke_right
Revoke a right from a user or group on a queue, custom field, group, class, catalog, or globally. Provide numeric group IDs to ensure successful revocation.
Instructions
Revoke a right from a user or group on a queue, custom field, group, class, catalog, or globally. The principal goes in the URL path here rather than a request body, and RT resolves a name there only for a user: a group has to be given as its numeric ID, and a group name answers 404 even though grant_rights resolves that same name. RT answers 404 for a right that was never granted too, so a group name passed here looks like nothing to revoke rather than a bad parameter. Use get_group or list_groups to get the ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| User | No | Username or numeric user ID to revoke from. An email address is not resolved. | |
| Group | No | Numeric group ID to revoke from. A group name is not resolved here, unlike grant_rights. | |
| Right | Yes | Right name to revoke | |
| object_id | No | Object ID, or name for a queue, class or catalog (group and customfield are numeric id only). Not needed for global. | |
| object_type | Yes | Type of object |