v1

latestOpenAPI 3.0.1Vanta Terms of Service2026-07-26327517821.8 KB
Documents

Set document owner

Assign or unassign a user to the document.

post/documents/{documentId}/set-owner

Path parameters

documentIdstring required

Request body

userIdstring nullable required

The new owner ID

Response

Ok

idstring required

The document's unique ID.

ownerIdstring nullable required

The user ID of the document's owner.

category'Accounts access' | 'Account security' | 'Account setup' | 'Computers' | 'Custom' | 'Data storage' | 'Employees' | 'Infrastructure' | 'IT' | 'Logging' | 'Monitoring alerts' | 'People' | 'Policies' | 'Risk analysis' | 'Software development' | 'CSPM alert management' | 'Vendors' | 'Vulnerability management' required
descriptionstring required

The document's description.

isSensitiveboolean required

Determines whether or not the document is sensitive.

titlestring required

The document's title.

uploadStatus'Needs document' | 'Needs update' | 'Not relevant' | 'OK' required
uploadStatusDatestring date-time nullable required

The date the document's uploadStatus changed.

urlstring nullable required

The URL to view the document within Vanta.