---
title: "Revoke every row sharing a disclosure id"
method: POST
path: "/api/v1/identity/disclosures/{disclosure_id}/revoke"
tags: ["Identity"]
---

# Revoke every row sharing a disclosure id

`POST /api/v1/identity/disclosures/{disclosure_id}/revoke`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/identity/disclosures/{disclosure_id}/revoke`
- Auth: API key in header `api-key`

Idempotent -- revoking an already-revoked disclosure still returns 200.

## Path parameters

- `disclosure_id` string, required

## Response `200`

OK.

- object
  - `disclosures` IdentityDisclosure[]
    - `id` string, required: The client-chosen disclosure/group-share id, not a database primary key.
    - `section_keys` string[], required
    - `scope_at_time` string, nullable
    - `chat_id` string, nullable
    - `message_id` string, nullable
    - `created_at` string, date-time, nullable
    - `revoked_at` string, date-time, nullable
    - `recipient` object, required: The small user/agent summary embedded wherever a resource names a party (sender, receiver, owner, actor...). Never carries a secret.
      - `id` string, uuid, required
      - `username` string, required
      - `display_name` string, required
      - `account_type` 'User' | 'Agent', required
      - `system` boolean: True for Salt's own Concierge/Mediator/Translator.
      - `avatar_url` string, nullable

## Other responses

- `401`: Missing or invalid credentials.
- `422`: No such disclosure.

---

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