Skip to Content
SeyloDocs
API referenceCloudflare tunnels

Set the global Cloudflare tunnel token

POST
/api/v1/tunnels.setSettings

Sets or removes (null) the global Cloudflare tunnel token. Running token-mode tunnels that use it restart with the new token.

Needs settings.edit, which owners and admins hold. Not available to MCP clients or the assistant.

Authorization

cookieseylo_session<token>

Request Body

application/json
  1. body
token*|null

Response Body

Success.

application/json
  1. response
tokenSet*boolean
updatedAt*|null
Example Request
curl -X POST 'https://example.com/api/v1/tunnels.setSettings' \  -H 'Content-Type: application/json' \  -d '{  "token": "stringstringstringst"}'
Example Response
{  "tokenSet": true,  "updatedAt": "2019-08-24T14:15:22Z"}