---
title: "Revoke Share Link"
method: DELETE
path: "/api/v1/project/{project_id}/share"
tags: ["project"]
---

# Revoke Share Link

`DELETE /api/v1/project/{project_id}/share`

Revoke the active share link for a project.

Permanently invalidates the current share token. Re-enabling sharing
will generate a new token (old links stay dead). Requires write access to the project.

Args:
    project_id: UUID of the project (validated for write access)
    share_service: ProjectShareService for share link operations

Returns:
    Success confirmation

Raises:
    HTTPException: 404 if no active share link exists

## Response `200`

Successful Response

- ShareRevokeResponse — Response for DELETE (revoke) share link.
  - `success` boolean, required

---

[API](https://skmtc.net/maia-analytics/apis/maia-api.md) · [All operations](https://skmtc.net/maia-analytics/apis/maia-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maia-analytics/maia-api/versions/ba2b8d962161/schema)
