Replace the Cloudflare API token
/connections/{id}/credentialDashboard only, Cloudflare connections. Checks the runtime token (every permission it needs, and that it cannot upload a Worker) before it replaces the stored one, then re-verifies the connection. Returns the checklist.
Authorization
apiKey A project API key: Authorization: Bearer s0_…
In: header
Path Parameters
1 <= length <= 64Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/connections/string/credential" \ -H "Content-Type: application/json" \ -d '{ "api_token": "string" }'{ "object": "connection", "id": "string", "name": "string", "provider": "ses", "region": "string", "status": "pending", "external_id": "string", "role_arn": "string", "provider_account_id": "string", "stack_version": "string", "sandbox_status": "unknown", "sending_quota": { "max_24_hour_send": 0, "max_send_rate": 0, "sent_last_24_hours": 0, "resets_at": "2019-08-24T14:15:22Z", "sent_source": "cloudflare_analytics" }, "setup_url": "http://example.com", "last_error": "string", "capabilities": { "sending": true, "receiving": true, "receiving_in_region": true, "dkim": "managed", "custom_mail_from": true, "open_tracking": true, "click_tracking": true, "campaigns": true, "suppression_list": "account", "event_delivery": "push", "max_recipients_per_message": 1, "max_message_bytes": 1, "max_send_rate": 1 }, "provider_config": { "account_id": "string", "worker_name": "string", "bucket_name": "string", "queue_name": "string", "sending_domains": [ "string" ] }, "data_plane": { "version": "string", "previous_version": "string", "latest_version": "string", "status": "not_deployed", "pinned": true, "pin": "string" }, "credential_hint": "string", "notices": [ { "code": "string", "created_at": "2019-08-24T14:15:22Z", "detail": "string" } ], "last_verified_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "stack_update": { "current_version": "string", "latest_version": "string", "template_url": "string", "stack_name": "string", "console_url": "string", "command": "string" }, "checklist": [ { "check": "string", "status": "ok", "detail": "string" } ]}Rotate the ingest token POST
Dashboard only. Issues a new event-ingest token (shown once). Before verification it also returns a fresh `setup_url`.
Change the Cloudflare data plane POST
Dashboard only, Cloudflare connections. Upgrades, redeploys, rolls back or rotates the keys of what Stamp0 deployed in your Cloudflare account, with a setup token Stamp0 holds sealed for at most an hour. One change runs at a time.