---
title: "Snooze Validation For Violation"
method: POST
path: "/violations/{violation_id}/snooze/{snoozed_till}"
tags: ["VIOLATIONS"]
---

# Snooze Validation For Violation

`POST /violations/{violation_id}/snooze/{snoozed_till}`

- Finds the term by the violation_id
- Updates the status, snoozed_till param for the term in the db
- snoozed_till can have only two values: '24h', '1w'

## Path parameters

- `violation_id` integer, required
- `snoozed_till` string, required

## Response `200`

Successful Response

- ViolationSnoozeResponse
  - `id` integer, required
  - `status` string, required

## Other responses

- `400` — Bad Request
- `403` — Not supported for public user
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/revisions/50769cbf05d5/schema)
