Last updated
Was this helpful?
Last updated
Was this helpful?
The Panther API supports the following user and role operations:
List users
Get a user by ID or by email address
Invite new users
Update a user's information and role
Delete users
List roles
Get a role by ID or by name
Create a new role
Update a role's information and permissions
Delete roles
You can invoke Panther's API by using your Console's API Playground, or the GraphQL-over-HTTP API. Learn more about these methods on .
See the sections below for GraphQL queries, mutations, and end-to-end workflow examples around core user and role management operations.
Below are some of the most common GraphQL user and role management operations in Panther. These examples demonstrate the documents you have to send using a GraphQL client (or curl
) to make a call to Panther's GraphQL API.
Note: The createdAt
field is in ISO 8601 date and time standard.
Note: The permission UserModify
provides full admin access to the Panther platform. Use discretion when assigning this permission to new roles.
Note: The permissions in the updateRole input must contain all desired permissions for the role.
Below, we will build on the examples to showcase an end-to-end flow.
Panther API user and role management operations