POST
/v1/mgmt/fga/mappable/resources

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

tenantId?string
resourcesQueries?array<MappableResourceQuery>
resourcesLimit?string

Search for FGA mappable resources.

curl -X POST "https://api.descope.com/v1/mgmt/fga/mappable/resources" \  -H "Content-Type: application/json" \  -d '{}'
{  "mappableResources": [    {      "type": "string",      "resources": [        {          "resource": "string",          "displayName": "string"        }      ]    }  ]}
export interface Response {mappableResources?: {type?: stringresources?: MappableResource[]}[]}export interface MappableResource {resource?: stringdisplayName?: string}
Was this helpful?