---
title: "POST /vault/share/revoke"
method: POST
path: "/vault/share/revoke"
---

# POST /vault/share/revoke

`POST /vault/share/revoke`

## Request

- Base URL: `https://api.useanima.sh/v1`
- URL: `https://api.useanima.sh/v1/vault/share/revoke`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Request body

- object: Input for revoking a credential share
  - `shareId` string, required: ID of the share to revoke
  - `agentId` union: Agent identifier. Optional when using an agent API key (resolved automatically); required when using a master key.
    - string
    - string

## Response `200`

OK

- object
  - `success` unknown, required

---

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