POST
/v1/mgmt/authz/re/targetall

Check relations for a target (recursive)

Load a list of relations for the given target including all derived relations.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/authz/re/targetall

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

targetstring

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/authz/re/targetall" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <ProjectId:ManagementKey>" \
  -d '{
  "target": "string"
}'

{
  "relations": [
    {
      "resource": "string",
      "relationDefinition": "string",
      "namespace": "string",
      "target": "string",
      "targetNamespace": "string",
      "targetSetResource": "string",
      "targetSetRelationDefinition": "string",
      "targetSetRelationDefinitionNamespace": "string",
      "query": {
        "tenants": [
          "string"
        ],
        "roles": [
          "string"
        ],
        "text": "string",
        "statuses": [
          "string"
        ],
        "ssoOnly": false,
        "withTestUser": true,
        "customAttributes": {}
      }
    }
  ]
}

Was this helpful?