Pages
pages
Projects
pages.projects
Methods
Fetch a list of all user projects.
Fetch a project by name.
Create a new project.
Set new attributes for an existing project. Modify environment variables. To delete an environment variable, set the key to null.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Pages Write
Identifier
Name of the project.
Whether the API call was successful
Delete a project by name.
Purge all cached build artifacts for a Pages project
Domain types
The status of the deployment.
Methods
Fetch a list of project deployments.
Fetch information about a deployment.
Start a new deployment from production. The repository and account must have already been authorized on the Cloudflare Pages dashboard.
Delete a deployment.
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
Fetch a list of all domains associated with a Pages project.
Fetch a single domain.
Add a new domain for the Pages project.
Retry the validation status of a single domain.
Delete a Pages project's domain.