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

Response Body

application/json

application/json

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