POST
/v1/mgmt/authz/re/targetwithrelation

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

target?string
relationDefinition?string
namespace?string
ParentTarget?string
ParentRelationDefinition?string

Load the resources that the target has the given relation to including all derived relations

curl -X POST "https://api.descope.com/v1/mgmt/authz/re/targetwithrelation" \  -H "Content-Type: application/json" \  -d '{}'
{  "resources": [    "string"  ]}
export interface Response {resources?: string[]}
Was this helpful?