Skip to main content
Change requests in Scrubbe represent planned or in-progress modifications to your systems — deployments, configuration updates, infrastructure changes, and similar events. Tracking changes alongside incidents lets Scrubbe correlate service disruptions with recent modifications, improving the speed and accuracy of root cause analysis. Every change record supports scheduling, rollback planning, and risk classification.
All endpoints require Authorization: Bearer <token>.
Base path: https://your-api-domain.com/api/v1/changes

Create a change request

POST /
string
required
Short title for the change request (e.g. "Upgrade PostgreSQL to 16.2").
string
required
Detailed description of the change being made.
string
required
Change type: STANDARD, NORMAL, or EMERGENCY.
string
Risk level: LOW, MEDIUM, or HIGH.
string
Affected service or team area.
string
Target environment (e.g. "production", "staging").
string
ISO 8601 timestamp for the planned change window.
string
Email of the engineer responsible for implementing the change.
string
Description of how to revert the change if it fails.
Response

List change requests

Returns a paginated list of change requests ordered by creation date descending. GET /
number
default:"1"
Page number.
number
default:"20"
Items per page (max 100).
string
Filter by status: PENDING, APPROVED, IN_PROGRESS, COMPLETED, or CANCELLED.
string
Filter by environment.
string
Filter by risk level: LOW, MEDIUM, or HIGH.

Get a change request

GET /:id
string
required
The change request ID.

Update a change request

Accepts the same fields as POST /. Only provided fields are updated. Use this endpoint to progress status, adjust the scheduled window, or add a rollback plan after initial creation. PUT /:id
string
required
The change request ID.
cURL

Delete a change request

DELETE /:id
string
required
The change request ID to delete.
Deleted change requests are permanently removed and cannot be recovered. If a change has already been executed or is linked to an incident, update its status to CANCELLED instead to preserve the audit trail.