FerryDocs
ReferenceAPI overview

API tokens

An API token is fy_ and 40 hex characters. There are three kinds, all with the same access.

Edit on GitHub
Named tokenfrom the dashboardTerminal tokenfrom ferry loginServer tokenapi_token fileAPIfull access
Three kinds of token, the same access

An is fy_, then 40 .

The three kinds

KindWhere it comes fromIn the dashboard
Named tokenYou create it in the dashboard: Server → Account. It can have an expiry.In the list. You can revoke it.
Token of a terminalferry login gets it after you approve the request in the dashboard.In the same list. You revoke it the same way.
The file <data-dir>/api_token (mode 0600). ferryd makes it at the first start, or you set it with --api-token / FERRY_API_TOKEN.Not in the list. You cannot revoke it there.

The server token is for scripts on the server itself.

What a token can do

A token can do all in the API, but it cannot use the account endpoints. Ferry has one administrator account and no roles. See The administrator account.

On this page