Skip to main content
PATCH
/
trust-centers
/
{slugId}
/
resources
/
{resourceId}
Update Trust Center document
curl --request PATCH \
  --url https://api.vanta.com/v1/trust-centers/{slugId}/resources/{resourceId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "isPublic": true,
  "description": "<string>"
}
'
{
  "id": "4b1e7a8c3d9f6a2b5c8d0e3f",
  "title": "Resource title",
  "mimeType": "application/pdf",
  "fileName": "resource.pdf",
  "creationDate": "2020-01-01T00:00:00.000Z",
  "updatedDate": "2020-01-01T00:00:00.000Z",
  "isPublic": true,
  "description": "Resource description"
}

Documentation Index

Fetch the complete documentation index at: https://vanta.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slugId
string
required
resourceId
string
required

Body

application/json
title
string

Title of the Trust Center document.

isPublic
boolean

Boolean determining whether the document is publicly available.

description
string

Description of the uploaded document.

Response

200 - application/json

Ok

id
string
required

Unique identifier for the document.

fileName
string | null
required

The file name of the document.

title
string
required

The document's title.

description
string | null
required

The document's description

mimeType
string
required

Mime type of the document.

creationDate
string<date-time>
required

Date of when the document was uploaded.

updatedDate
string<date-time>
required

Date when the document was last updated.

isPublic
boolean
required

Boolean determining whether the document is publicly available.