---
title: "Revoke Share Link"
method: DELETE
path: "/api/invoices/{invoice_id}/share"
tags: ["invoices"]
---

# Revoke Share Link

`DELETE /api/invoices/{invoice_id}/share`

## Request

- Base URL: `https://demo.usesecuro.com` (the document declares no server; this is the origin it was published from)
- URL: `https://demo.usesecuro.com/api/invoices/{invoice_id}/share`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/auth/login`
- TypeScript: <https://skmtc.dev/usesecuro/apis/securo/docs/api/invoices/:invoice_id/share/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `invoice_id` string, uuid, required

## Headers

- `X-Workspace-Id` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-05** `416a7752fec4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/usesecuro/apis/securo/changes/api/invoices/:invoice_id/share/delete.md)

---

[API](https://skmtc.dev/usesecuro/apis/securo.md) - [All operations](https://skmtc.dev/usesecuro/apis/securo/llms.txt) - [OpenAPI document](https://skmtc.dev/usesecuro/apis/securo/revisions/416a7752fec4?raw)
