Roles
REST API operations for roles
Last updated
Was this helpful?
REST API operations for roles
Last updated
Was this helpful?
The /roles REST API operations are in open beta starting with Panther version 1.112, and are available to all customers. Please share any bug reports and feature requests with your Panther support team.
Use these API operations to interact with user roles in Panther.
To call the API, see the How to use the Panther REST API instructions—including directions for how to invoke it directly from this documentation page.
For GET
operations, your API token must have the Read User Info
permission.
For POST
and DELETE
operations, your API token must have the Manage Users
permission.
A string to search for in the Role name
An exact match of a role's name to return. If provided all other parameters are ignored
Set of IDS to return
A comma delimited list of IDs
The sort direction of the results
asc
, desc
The log types that the role can or cannot access, according to the logTypeAccessKind
field. This field should be omitted if logTypeAccessKind
has a value of ALLOW_ALL
or DENY_ALL
Defines the role's access to log types. This field is required and has effect only if the datalake RBAC feature is enabled.
ALLOW
, ALLOW_ALL
, DENY
, DENY_ALL
The name of the role
ID of the role
The log types that the role can or cannot access, according to the logTypeAccessKind
field. This field should be omitted if logTypeAccessKind
has a value of ALLOW_ALL
or DENY_ALL
Defines the role's access to log types. This field is required and has effect only if the datalake RBAC feature is enabled.
ALLOW
, ALLOW_ALL
, DENY
, DENY_ALL
The name of the role