Lists the Cloudflare accounts your connection can reach, with their ids, to add sites to them.
curl -X POST "https://api.primaryapi.com/v1/run/cloudflare.accounts" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'{
"output": {
"found": true,
"data": {
"nextCursor": null,
"accounts": [
{
"name": "Demo Account",
"type": "standard",
"createdAt": "2014-03-01T12:21:02.000Z",
"id": "01a7362d577a6c3019a474fd6f485823"
}
]
}
},
"credits": 1
}Input and output
4 fields
4 fields
account to cloudflare.create_zoneGood to know
Runs as your connected Cloudflare account. Needs the "Add and remove sites" permission.
Lists only the accounts you chose to share when connecting.
To add a site to another account. Connect again and choose it on Cloudflare’s page.
One page per call. Send nextCursor back as cursor to read the next page.
The same key and credits work for every API.