Start connecting a Cloudflare account. Returns the consent URL to send the founder to.

post/v1/installations/{id}/authorize

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Secure-better-auth.session_token

Path parameters

idstring required

Request body

acceptAcceptableDanger[]
initiator'console' | 'agent'

Who asked for a Cloudflare authorisation, and therefore what should happen after it.

Response

The request has succeeded.

consentUrlstring uri required

Where to send the founder: a dash.cloudflare.com consent screen naming every permission this install needs. Single-use and short-lived — asking again replaces it, and the previous one stops being accepted.

Changes

No recorded changes to this operation across all 1 revision of this API.