API ReferenceManagementResources
GET
/v1/mgmt/resources/load

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Load all resources, using a valid management key.

curl -X GET "https://api.descope.com/v1/mgmt/resources/load"
{  "resources": [    {      "id": "string",      "version": "string",      "name": "string",      "scopes": {        "permissionsScopes": [          {            "name": "string",            "description": "string",            "optional": true,            "values": [              "string"            ]          }        ],        "attributesScopes": [          {            "name": "string",            "description": "string",            "optional": true,            "values": [              "string"            ]          }        ],        "connectionsScopes": [          {            "name": "string",            "description": "string",            "optional": true,            "values": [              "string"            ]          }        ]      },      "createdTime": "string",      "modifiedTime": "string",      "userAccess": "string",      "clientAccess": "string",      "description": "string",      "uri": "string"    }  ],  "total": 0}
export interface Response {resources?: Resource[]total?: number}/** * Resource CRUD messages */export interface Resource {id?: stringversion?: stringname?: stringscopes?: {permissionsScopes?: {name?: stringdescription?: stringoptional?: booleanvalues?: string[]}[]attributesScopes?: {name?: stringdescription?: stringoptional?: booleanvalues?: string[]}[]connectionsScopes?: Projectv1[]}createdTime?: stringmodifiedTime?: stringuserAccess?: stringclientAccess?: stringdescription?: stringuri?: string}/** * Keep this message synchronized with the matching one in ManagementService */export interface Projectv1 {name?: stringdescription?: stringoptional?: booleanvalues?: string[]}
Was this helpful?