---
title: "Delete (deactivate) a trust portal document"
method: POST
path: "/v1/trust-portal/documents/{documentId}/delete"
tags: ["Trust Portal"]
---

# Delete (deactivate) a trust portal document

`POST /v1/trust-portal/documents/{documentId}/delete`

## Path parameters

- `documentId` string, required

## Request body

- DeleteTrustDocumentDto
  - `organizationId` string, required — Organization ID that owns the document

## Response `200`

Document deleted successfully

- object
  - `success` boolean

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/ac8d1e4e2e79/schema)
