403 means you made a mistake in your client’s authorization. Make sure you’re either using an API token via the header Authorization: Bearer <token>
or your global API key as described at Cloudflare API v4 Documentation. If you use an API token, it needs the permission zone ->zone->edit.
1 Like