---
title: "Revoke share"
method: DELETE
path: "/api/sessions/share/{shareId}"
tags: ["Shares"]
---

# Revoke share

`DELETE /api/sessions/share/{shareId}`

Revokes a share link. Only the user who created the share can revoke it. After revocation, the share URL will no longer be accessible.

## Path parameters

- `shareId` string, required

## Headers

- `X-Grafana-Org-Id` string

## Response `200`

Share revoked

- object
  - `success` boolean

## Other responses

- `401` — Unauthorized (missing or invalid authentication)
- `403` — Access denied (user doesn't own this share)
- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.net/consensys/apis/ask-o11y-ai-powered-observability-assistant-api.md) · [All operations](https://skmtc.net/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/consensys/ask-o11y-ai-powered-observability-assistant-api/versions/3ccc03eccaef/schema)
