---
title: "Revoke deck share"
method: DELETE
path: "/v1/decks/{deck_id}/share/{id}"
tags: ["Sharing"]
---

# Revoke deck share

`DELETE /v1/decks/{deck_id}/share/{id}`

## Request

- Base URL: `https://api.slides.com`
- URL: `https://api.slides.com/v1/decks/{deck_id}/share/{id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://slides.com/oauth/authorize`, token URL `https://slides.com/oauth/token`, scopes: `manage`)

Revokes a private share link for an owned deck.

## Path parameters

- `deck_id` union, required
  - string
  - integer
- `id` union, required
  - string
  - integer

## Response `204`

Returns 204 No Content on success.

## Other responses

- `401`: A valid API key or OAuth access token is required.
- `403`: The credential or account cannot perform this operation.
- `404`: The requested resource was not found.
- `422`: The request parameters or body are invalid.
- `429`: The request rate limit was exceeded.

---

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