API reference
cloudflare.accounts.check
Check a Cloudflare account
GET/api/v1/cloudflare/accounts/{cloudflareAccountId}/check
Details
Ask Cloudflare again for one Cloudflare account's pre-flight facts (R2 switched on, cron slots used) through the Connection that deploys to it, and return the account. Changes nothing in Cloudflare. A Connection Cloudflare no longer accepts is marked needs_reconnect and the answer is CONFLICT.
Input
| Field | Type | Notes |
|---|---|---|
cloudflareAccountIdrequired | string |
Output
| Field | Type | Notes |
|---|---|---|
accountrequired | object | |
account.idrequired | string | |
account.cfAccountIdrequired | string | |
account.namerequired | string | |
account.statusrequired | "reachable" | "unreachable" | |
account.connectionIdrequired | string | |
account.workersPlanrequired | "free" | "paid" | "unknown" | |
account.r2Enabledrequired | boolean or null | |
account.cronUsedrequired | integer or null | |
account.cronFreeLimitrequired | integer | from -9007199254740991 to 9007199254740991 |
account.checkedAtrequired | integer or null |