API Reference/Management/Roles
GET
/v1/mgmt/role/all

Authorization

AuthorizationRequiredBearer <token>

< Project ID >:< Management Key > as bearer

In: header

curl -X GET "https://api.descope.com/v1/mgmt/role/all" \
  -H "Authorization: Bearer <token>"

OK

{
  "roles": [
    {
      "name": "string",
      "description": "string",
      "permissionNames": [
        "string"
      ],
      "createdTime": 0,
      "tenantId": "string"
    }
  ]
}

Was this helpful?