ApiManagementAuthz
POST
/v1/mgmt/authz/re/who

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

resource?string
relationDefinition?string
namespace?string

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

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