Rollback
Rollback a project
Performs a rollback operation by triggering a rollback pipeline.
post/projects/{project_id}/rollback
Request
- Base URLhttps://circleci.com/api/v2
- URLhttps://circleci.com/api/v2/projects/{project_id}/rollback
- Auth
- API key in header Circle-Token
- or HTTP bearer
- or HTTP basic
- or API key in query parameter circle-token
Path parameters
project_idstring required
An opaque identifier of a project.
Request body
Example request
{
"component_name": "frontend",
"current_version": "1.0.0",
"environment_name": "production",
"namespace": "default",
"parameters": {
"param1": "value1",
"param2": "value2"
},
"reason": "The component is down",
"target_version": "1.0.1"
}Response
Rollback request accepted.
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"rollback_type": "PIPELINE"
}Changes
No recorded changes to this operation across all 1 revision of this API.