GET/organization_permissions

Get a list of all organization permissions

Retrieves all organization permissions for the given instance.

4 parameters
querystringoptional
Returns organization permissions with ID, name, or key that match the given query. Uses exact match for permission ID and partial match for name and key.
order_bystringoptional
Allows to return organization permissions in a particular order. At the moment, you can order the returned permissions by their `created_at`, `name`, or `key`. In order to specify the direction, you can use the `+/-` symbols prepended in the property to order by. For example, if you want permissions to be returned in descending order according to their `created_at` property, you can use `-created_at`.
limitintegeroptional
Applies a limit to the number of results returned. Can be used for paginating the results together with `offset`.
Default:10
offsetintegeroptional
Skip the first `offset` results when paginating. Needs to be an integer greater or equal to zero. To be used in conjunction with `limit`.
Default:0

3 status codes
200Success
dataarray<object>required
total_countintegerrequired
Total number of permissions
401Authentication invalid
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
422Invalid request parameters
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional

Error handling

A 401 is returned: Authentication invalid. A 422 is returned: Invalid request parameters.