Skip to main content
POST
Create Cloudflare credential

Authorizations

Authorization
string
header
required

workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens

Headers

akua-context
string

Optional workspace/scope context for the request. Carries a single workspace wire id (ws_…) today. Only needed for broad tokens — a workspace-owned token implies its workspace.

Required string length: 1 - 53
Example:

"ws_j572abc123def456"

Body

application/json
name
string
required
Required string length: 1 - 100
Example:

"Production Cloudflare"

account_id
string
required

Cloudflare account ID.

Required string length: 1 - 200
Pattern: ^[A-Za-z0-9_-]+$
origin_zone_id
string
required

Cloudflare zone ID used for Access-protected origin hostnames.

Required string length: 1 - 200
Pattern: ^[A-Za-z0-9_-]+$
origin_hostname_suffix
string
required

Hostname suffix used for Access-protected origin hostnames.

Required string length: 1 - 253
api_token
string
required

Cloudflare API token. Stored as a platform Secret; never returned.

Required string length: 1 - 2000

Response

Cloudflare credential created