---
title: "Dismiss cancellations: keep the flagged items"
method: POST
path: "/api/trips/{id}/cancellations/dismiss"
tags: ["Trips"]
---

# Dismiss cancellations: keep the flagged items

`POST /api/trips/{id}/cancellations/dismiss`

## Request

- Base URL: `https://trvlrr.app`
- URL: `https://trvlrr.app/api/trips/{id}/cancellations/dismiss`
- Auth: HTTP bearer

Clears cancellation_state on the given items; the bookings stand.

## Path parameters

- `id` string, required: The trip id.

## Request body

- CancellationIds
  - `item_ids` string[], required: Segment, stay or experience ids flagged as possibly cancelled.

## Response `200`

How many were cleared.

- Dismissed
  - `dismissed` integer, required

## Other responses

- `400`: The request is malformed or fails validation.
- `401`: No usable credential: a Clerk session token, a device token or an OAuth access token is required.
- `403`: The caller may not do this to this account or trip.
- `404`: No such thing, or not one the caller can see.

---

[API](https://skmtc.dev/trvlrr/apis/trvlrr-api.md) · [All operations](https://skmtc.dev/trvlrr/apis/trvlrr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trvlrr/apis/trvlrr-api/revisions/ea024946b293?raw)
