Reject Request
curl --request POST \
--url http://{host}:{port}/{basePath}/approvals/{name}/reject \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"rejectedBy": "ana.costa@empresa.com",
"reason": "Prefer adjusting HPA before raising limits."
}
'{
"apiVersion": "v1",
"kind": "Approval",
"metadata": {
"name": "APR-20260319-001",
"namespace": "production"
},
"status": {
"status": "rejected",
"rejectedBy": "ana.costa@empresa.com",
"rejectedAt": "2026-03-19T15:40:00Z",
"reason": "Preferimos resolver com HPA antes de aumentar limits. Vamos ajustar o autoscaling primeiro.",
"incident": "INC-20260319-001",
"remediationTriggered": false
}
}
Approvals
Reject Request
Rejects a pending request, preventing the remediation from being executed
POST
/
approvals
/
{name}
/
reject
Reject Request
curl --request POST \
--url http://{host}:{port}/{basePath}/approvals/{name}/reject \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"rejectedBy": "ana.costa@empresa.com",
"reason": "Prefer adjusting HPA before raising limits."
}
'{
"apiVersion": "v1",
"kind": "Approval",
"metadata": {
"name": "APR-20260319-001",
"namespace": "production"
},
"status": {
"status": "rejected",
"rejectedBy": "ana.costa@empresa.com",
"rejectedAt": "2026-03-19T15:40:00Z",
"reason": "Preferimos resolver com HPA antes de aumentar limits. Vamos ajustar o autoscaling primeiro.",
"incident": "INC-20260319-001",
"remediationTriggered": false
}
}
Unique approval name (e.g.,
APR-20260319-001)Identifier of the user rejecting the request
Reason for the rejection
{
"apiVersion": "v1",
"kind": "Approval",
"metadata": {
"name": "APR-20260319-001",
"namespace": "production"
},
"status": {
"status": "rejected",
"rejectedBy": "ana.costa@empresa.com",
"rejectedAt": "2026-03-19T15:40:00Z",
"reason": "Preferimos resolver com HPA antes de aumentar limits. Vamos ajustar o autoscaling primeiro.",
"incident": "INC-20260319-001",
"remediationTriggered": false
}
}
{
"apiVersion": "v1",
"kind": "Error",
"error": {
"code": 409,
"message": "Approval already decided",
"details": "The approval 'APR-20260319-001' was already rejected by ana.costa@empresa.com at 2026-03-19T15:40:00Z"
}
}
Authorizations
Bearer token issued by the operator. Format: Authorization: Bearer <token>.
Path Parameters
Unique approval name.
Example:
"APR-20260319-001"
Body
application/json
⌘I