Pages
pages
Projects
pages.projects
Methods
Create a new project.
Delete a project by name.
Set new attributes for an existing project. Modify environment variables. To delete an environment variable, set the key to null.
Fetch a project by name.
Fetch a list of all user projects.
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example: X-Auth-Email: user@example.com
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Identifier
Whether the API call was successful
Purge all cached build artifacts for a Pages project
Domain types
Methods
Start a new deployment from production. The repository and account must have already been authorized on the Cloudflare Pages dashboard.
Delete a deployment.
Fetch information about a deployment.
Fetch a list of project deployments.
Retry a previous deployment.
Rollback the production deployment to a previous deployment. You can only rollback to succesful builds on production.
pages.projects.deployments.history
pages.projects.deployments.history.logs
Methods
Fetch deployment logs for a project.
Methods
Add a new domain for the Pages project.
Delete a Pages project's domain.
Retry the validation status of a single domain.
Fetch a single domain.
Fetch a list of all domains associated with a Pages project.