It’s not documented, but it is the one wrangler uses
It’s not documented, but it is the one wrangler uses
{"success":false,"errors":[{"code":8000013,"message":"Authorization failed"}]}https://api.cloudflare.com/client/v4/accounts/CLOUDFLARE_ACCOUNT_ID/pages/assets/uploadwww.lloydatkinson.net as a custom domain on the Pages project (which will update DNS, but its important that you add as a custom domain as well) const res = await fetchResult(`/pages/assets/upload`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${jwt}`,
},
body: JSON.stringify(payload),
});{"success":false,"errors":[{"code":8000013,"message":"Authorization failed"}]}https://api.cloudflare.com/client/v4/accounts/CLOUDFLARE_ACCOUNT_ID/pages/assets/uploadwww.lloydatkinson.net