POST
/v1/mgmt/authz/re/resource

Retrieve Resource Entity Details.

Retrieve detailed information about a specific resource entity using its identifier. This endpoint requires no authentication and is intended for public access to resource details.

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/authz/re/resource

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

resourcestring

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

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

Was this helpful?