Skip to main content
PATCH
/
trust-centers
/
{slugId}
/
faqs
/
{faqId}
Update Trust Center FAQ
curl --request PATCH \
  --url https://api.vanta.com/v1/trust-centers/{slugId}/faqs/{faqId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "question": "<string>",
  "answer": "<string>"
}
'
{
  "id": "4b1e7a8c3d9f6a2b5c8d0e3f",
  "question": "What is the meaning of life?",
  "answer": "42",
  "category": {
    "id": "71a3b8d2ef904c1a6d5e7f30",
    "name": "General"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

slugId
string
required
faqId
string
required

Body

application/json
question
string
required

The FAQ question.

answer
string
required

The FAQ answer.

Response

200 - application/json

Ok

id
string
required

Unique identifier for the Trust Center FAQ.

question
string
required

The FAQ question.

answer
string
required

The FAQ answer.

category
object
required

The category this FAQ belongs to, or null if uncategorized.