Rivier/ Reference/ domains

Connect a Cloudflare token scoped to this zone

post/workspace/domains/{d}/cloudflare

Connect a Cloudflare token scoped to this zone. The token is sealed and never returned.

Before you call

Credential
Authorization: Bearer $KEY
Scope
domains:write
Sdk
domains.domain.connectCloudflare
Cli
domains domain connect cloudflare

Parameters

  • dstringrequired
    In the path

Request bodyapplication/json, required

  • tokenstringrequired
    At most 200 characters.

Responses

  • 200application/json
    Success
    • domainobjectrequired
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown