POST
/v1/mgmt/authz/re/who

Check who can access a resource

Return a list of users who can access a given resource with given relation.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/authz/re/who

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

resourcestring

relationDefinitionstring

namespacestring

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/authz/re/who" \
  -d '{
  "resource": "string",
  "relationDefinition": "string",
  "namespace": "string"
}'

{
  "targets": [
    "string"
  ]
}

Was this helpful?