Skip to main content
PATCH
Pause or resume a Cloudflare hostname

Authorizations

Authorization
string
header
required

API key with dtk_live_ prefix. Obtain it from API Keys in the account sidebar. New keys start with all supported scopes selected for the chosen project, and you can narrow them to specific read/write scopes as needed.

Path Parameters

projectId
string<uuid>
required

The project the credential is bound to. Read it from GET /connection.

connectionId
string<uuid>
required

A Cloudflare connection id from getTrafficSensors.

Body

application/json
status
enum<string>
required
Available options:
active,
paused

Response

The updated hostname

data
object
required
meta
object
required

Sent beside data on every successful response that returns data.