---
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`

Delete (deactivate) a trust portal document in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources, documents, links, and vendor disclosures.

## 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.net/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.net/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/726b9523fb22/schema)
