v1

latestOpenAPI 3.0.1Vanta Terms of Service2026-07-26327517821.8 KB
Knowledge Base

Update webpage resource

Apply a partial update to a webpage (URL-type) resource. Omitted fields are left untouched. description, ownerAssignment, and expirationDate accept null to clear. The resource URL is not updatable here — recreate the resource if the URL needs to change. Returns 404 for an unknown id or a FILE-type resource.

patch/knowledge-base/resources/webpages/{id}

Path parameters

idstring required

Request body

titlestring

The title of the webpage resource.

descriptionstring nullable

A description for the webpage resource. Pass null to clear.

customerVisibility'PRIVATE' | 'SHAREABLE' | 'REQUEST_ACCESS' | 'PUBLIC'

Customer-facing visibility of a knowledge-base resource on the Trust Center. Use {@link CUSTOMER_VISIBILITY_TO_DB} to translate to {@link TrustCenterResourceVisibility} when persisting.

includeSubPagesboolean

Whether to scan sub-pages one level deep alongside the primary URL.

isUsedInQuestionnairesboolean

Whether the resource should be used for question-answering in Questionnaire Automation.

expirationDatestring nullable

Expiration date in ISO 8601 format. Pass null to clear.

categoryIdstring nullable

Trust Center category id to associate this resource with. Pass null to move the resource to uncategorized. Only valid when the resource's effective visibility (after applying any patched customerVisibility) is REQUEST_ACCESS or PUBLIC; other combinations and unknown ids return an InvalidInputError.

Response

Ok

idstring required
type'URL' required
titlestring required
descriptionstring nullable required
urlstring required
customerVisibility'PRIVATE' | 'SHAREABLE' | 'REQUEST_ACCESS' | 'PUBLIC' | 'null' nullable required
includeSubPagesboolean nullable required
isUsedInQuestionnairesboolean nullable required
expirationStatus'CURRENT' | 'EXPIRED' required

Customer-facing expiration status used by knowledge-base API responses (answer library entries and resources). Derived from the persisted expiresAt field at read time.

expirationDatestring nullable required
lastUpdatedstring required
lastVerifiedstring nullable required
categoryIdstring nullable required

Trust Center category id the resource is currently filed under, or null if uncategorized (or not on the Trust Center, which is the case for PRIVATE / SHAREABLE resources).