List policy templates

GET/credentials/policy-templates

Returns the predefined policy templates that can be used when creating a credential, each with the list of permissions it grants. No template includes administrators.* or credentials.* permissions.

Available to any authenticated credential. Reading the templates does not grant any permission.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Header Parameters

X-Client-Request-Id?string

Optional client-generated identifier of the request, up to 64 characters from [A-Za-z0-9._-]. Echoed back in the response and recorded in the request log; it never replaces the server-generated X-Request-Id.

Lengthlength <= 64

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/credentials/policy-templates"
{  "data": [    {      "capabilities": [        "string"      ],      "id": "read_only",      "name": "string",      "object": "policy_template"    }  ]}