---
title: "Revoke Share"
method: POST
path: "/share/{share_id}/revoke"
---

# Revoke Share

`POST /share/{share_id}/revoke`

## Request

- Base URL: `https://api.colourmemory.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.colourmemory.com/share/{share_id}/revoke`
- Auth: none declared

Pull a link: the owning session, or the token issued when it was made.

The session is not required when a token is presented -- sessions last
two hours and the link lasts ninety days, so demanding one would mean
a link can only be withdrawn on the day it was created.

## Path parameters

- `share_id` string, required

## Request body

- ShareRequest
  - `session_id` string
  - `include_image` boolean
  - `revoke_token` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/colourmemory/apis/colour-memory-api.md) · [All operations](https://skmtc.dev/colourmemory/apis/colour-memory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/colourmemory/apis/colour-memory-api/revisions/4ba028f64042?raw)
