---
title: "Decline workspace share invitation"
method: POST
path: "/paperoffice_account/decline_share"
tags: ["Document AI — DMS"]
---

# Decline workspace share invitation

`POST /paperoffice_account/decline_share`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/paperoffice_account/decline_share`
- Auth: HTTP bearer

Declines a pending workspace share invitation.

## Request body

- object
  - `share_id` integer, required: Share ID to decline

## Response `200`

Success

- SuccessEnvelope: Success envelope. Payload fields are endpoint-specific (top-level fields, `result`/`job_result` for jobs, `data` on some account endpoints).
  - `status` 'success', required
  - `processing_time` union
    - string
    - number
  - `_billing` object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

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