GET
/v1/mgmt/permission/all

Load all permissions, using a valid management key.

This API endpoint returns details all permissions configured within the Descope instance. The response includes an array of permissions and these details of each permission:

  • name
  • description
  • systemDefault

Next Steps

Once you have this data, you can utilize the response to Create Roles or Update Roles

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/permission/all

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Status codeDescription
200OK
curl -X GET "https://api.descope.com/v1/mgmt/permission/all"

{
  "permissions": [
    {
      "name": "string",
      "description": "string",
      "systemDefault": true
    }
  ]
}

Was this helpful?