Skip to main content
POST
/
api
/
v1
/
incidents
/
{name}
/
snooze
Snooze Incident
curl --request POST \
  --url https://api.example.com/api/v1/incidents/{name}/snooze \
  --header 'Content-Type: application/json' \
  --data '
{
  "duration": "<string>",
  "reason": "<string>",
  "snoozedBy": "<string>"
}
'
{
  "apiVersion": "v1",
  "kind": "Incident",
  "metadata": {
    "name": "INC-20260319-001",
    "namespace": "production"
  },
  "status": {
    "state": "Analyzing",
    "snoozed": true,
    "snoozedBy": "carlos.silva@empresa.com",
    "snoozedAt": "2026-03-19T15:35:00Z",
    "snoozeUntil": "2026-03-19T16:05:00Z",
    "snoozeReason": "Deploy em andamento, verificar apos conclusao"
  }
}
name
string
required
Unique incident name (e.g., INC-20260319-001)
duration
string
required
Snooze duration in Go duration format (e.g., 30m, 1h, 2h30m)
reason
string
required
Reason for snoozing the incident
snoozedBy
string
required
Identifier of the user snoozing the incident
{
  "apiVersion": "v1",
  "kind": "Incident",
  "metadata": {
    "name": "INC-20260319-001",
    "namespace": "production"
  },
  "status": {
    "state": "Analyzing",
    "snoozed": true,
    "snoozedBy": "carlos.silva@empresa.com",
    "snoozedAt": "2026-03-19T15:35:00Z",
    "snoozeUntil": "2026-03-19T16:05:00Z",
    "snoozeReason": "Deploy em andamento, verificar apos conclusao"
  }
}
{
  "apiVersion": "v1",
  "kind": "Error",
  "error": {
    "code": 400,
    "message": "Invalid duration",
    "details": "The 'duration' field must be in Go duration format (e.g., 30m, 1h, 2h30m). Maximum: 24h"
  }
}