List only resources already visible to the Principal

POST
/v1/access/resources/list

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer credential resolved to an opaque authenticated Principal by the Server deployment.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/access/resources/list" \  -H "Content-Type: application/json" \  -d '{    "action": "server.observe",    "resource_type": "server"  }'
{  "items": [    {      "type": "server",      "deployment_id": "string"    }  ],  "total": 0,  "next_cursor": "string"}