---
title: "Revoke Share Links For End User"
method: DELETE
path: "/api/agents/{agent_id}/share-links"
tags: ["agent-urls"]
---

# Revoke Share Links For End User

`DELETE /api/agents/{agent_id}/share-links`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/agents/{agent_id}/share-links`
- Auth: HTTP bearer

Revokes every live link of the agent bound to the end user and returns the count.

## Path parameters

- `agent_id` string, required

## Query parameters

- `endUserExternalId` string, required

## Response `200`

Successful Response

- RevokedCount
  - `revoked` integer, required

## Other responses

- `422`: Validation Error

---

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