Skip to content

Delete (deactivate) a trust portal document

POST
/v1/trust-portal/documents/{documentId}/delete
curl --request POST \
--url https://api.varman.io/v1/trust-portal/documents/example/delete \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "organizationId": "org_6914cd0e16e4c7dccbb54426" }'

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

documentId
required
string
Media typeapplication/json
object
organizationId
required

Organization ID that owns the document

string

Example

org_6914cd0e16e4c7dccbb54426

Document deleted successfully

Media typeapplication/json
object
success
boolean

Example generated

{
"success": true
}