---
search:
  tags:
    - AppShares
    - POST
seo:
  description: >-
    User-gated (chrm_user_* or session); requires app:share.… Reference for the
    POST /api/v1/apps/{appId}/shares/{shareId}/revoke endpoint in the Charming
    API.
sidebar:
  label: Revoke a share
  badge: POST
title: Revoke a share
type: openapi-operation
---
User-gated (`chrm_user_*` or session); requires `app:share`. Idempotently removes the grant or email invitation addressed by its opaque share id.

`POST /api/v1/apps/{appId}/shares/{shareId}/revoke`

**Responses**

- `200` — Revoked, or no matching share remained.
- `400` — Invalid app id or share id.
- `401` — Sign-in required.
- `403` — The caller cannot manage shares.
- `404` — App not found.

Response example, 200:

```json
{
  "ok": true,
  "removed": true
}
```

Found a bug or need a feature? [Tell us](/docs/capabilities/feedback) with `submit_feedback` or `POST /app/{id}/feedback`. Your feedback shapes what we build next.
