Error · 403
insufficient_scope
This token does not have the required scope
What happened
The endpoint requires a scope this token does not carry. The detail in the live response names it exactly — read that line rather than guessing. Scopes are fixed when a token is minted and can never be widened afterwards.
What to do
Call whoami (or GET /me) to see the scopes this token actually holds. To gain the missing one, mint a new token in the client area under Menu → API access with that scope ticked, then revoke the old one.
- The endpoint's reference page names the scope it needs — the chip beside its method.
- The scope table says what each one grants.
- Mint the replacement — scopes are fixed at creation, so this is a new token rather than an edit to the old one.
The response body carries a recovery object with the same guidance in machine-readable
form: recovery.action names the call to make next, and
recovery.hint is one sentence a model can act on. Not every code carries one — a
401, for instance, has nothing to recover to but a valid token.
The scope table lists every scope and what it
grants, including the pairs that need two at once — restore_backup requires
write:hosting and restore:hosting together.
Other 403 responses
-
readonly_scope— This token is read-only -
not_owned— Not owned by this account -
domain_not_owned— Domain not owned by this account -
node_not_allowed— That hosting node is not permitted -
ip_not_allowed— This token may not be used from this IP address -
origin_not_allowed— Requests from this origin are not accepted -
suspended— This service is suspended -
access_blocked— This request could not be completed