Skip to Content
View Markdown source

Choose PAT scopes

Each Management API operation requires one or more scopes. Start with the smallest set that covers the client’s workflow.

ResourceReadWriteAdditional sensitive scope
Overviewoverview:read
Appsapps:readapps:writeapp-keys:read, app-keys:write
Gatewaysgateways:readgateways:write
Endpointsendpoints:readendpoints:writeendpoint-secrets:read
Providersproviders:readproviders:write
Routesroutes:readroutes:write
Usageusage:read
Metadatameta:read
Accountsaccounts:readaccounts:writeAdmin only
Rate-limit policiespolicies:readpolicies:writeAdmin only

Workflow scope combinations

WorkflowRequired scopes
Inspect Provider deletion impactproviders:read
List or inspect Provider sync runsproviders:read
Start a Provider syncproviders:write
Start a Provider sync and poll its run to completionproviders:write and providers:read
Set or clear an App Providerapps:write and routes:write

Grant every scope listed for a combined workflow. A client that starts a Provider sync and then polls the persistent sync run typically uses both Provider scopes.

Use endpoint-secrets:read to receive effective URLs in Endpoint detail responses. Provider credential reveal is a dashboard-only operation authenticated by the dashboard session. Creating or rotating an App API Key returns the newly issued Key, while listing existing Keys requires app-keys:read.

The OpenAPI contract exposes the required scopes for each operation through x-required-pat-scopes.

Last updated on