---
title: "Revoke all share tokens for the trip."
method: DELETE
path: "/v1/trips/{id}/share-link"
tags: ["Public API v1"]
---

# Revoke all share tokens for the trip.

`DELETE /v1/trips/{id}/share-link`

## Request

- Base URL: `https://api.mynextadventure.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mynextadventure.cloud/v1/trips/{id}/share-link`
- Auth: API key in header `X-API-Key`

## Path parameters

- `id` string, required

## Response `200`

- UnshareResultV1Dto
  - `removedCount` number, required: Number of share tokens that were active and have now been revoked.

---

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