---
title: "Revoke a share link"
method: DELETE
path: "/v1/spaces/{spaceId}/share-links/{linkId}"
tags: ["Access"]
---

# Revoke a share link

`DELETE /v1/spaces/{spaceId}/share-links/{linkId}`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/spaces/{spaceId}/share-links/{linkId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Revokes a share link and invalidates visitor sessions derived from it.

## Path parameters

- `spaceId` string, required
- `linkId` string, required

## Response `204`

The share link was revoked.

---

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