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.
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
Fetch a project by name.
Fetch a list of all user projects.
Purge all cached build artifacts for a Pages project
Domain types
The status of the deployment.
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.