---
title: "Update Trust Center viewer"
method: PATCH
path: "/trust-centers/{slugId}/viewers/{viewerId}"
tags: ["Trust Centers"]
---

# Update Trust Center viewer

`PATCH /trust-centers/{slugId}/viewers/{viewerId}`

Updates a viewer's access on a Trust Center.

## Path parameters

- `slugId` string, required
- `viewerId` string, required

## Request body

- UpdateTrustCenterViewerInput
  - `accessLevel` 'FULL_ACCESS' | 'PARTIAL_ACCESS' — The access level of the viewer. FULL_ACCESS means having access to all resources on the trust center. PARTIAL_ACCESS means having access to all public resources and a select list of requestable resources.
  - `resourceIds` string[] — Identifiers for the resources that this viewer should have access to.
  - `expirationDate` string, date-time, nullable — The date access should expire for this viewer. Set to null to remove expiration.
  - `isNdaRequired` boolean — Whether to require an NDA for the viewer.
  - `customerTrustAccountId` string, nullable — ID of a Customer Trust Account to associate with this viewer. Set to null to remove the association. Omit to leave unchanged.

## Response `200`

Ok

- TrustCenterViewer
  - `id` string, required — Unique identifier for the viewer.
  - `email` string, required — Email of the viewer.
  - `name` string, nullable, required — Name of the viewer.
  - `companyName` string, nullable, required — Name of the viewer's company.
  - `resourceIds` string[], nullable, required — IDs for the resources this viewer has access to. If null, the viewer has access to all resources on the Trust Center.
  - `accessLevel` 'FULL_ACCESS' | 'PARTIAL_ACCESS', required — The access level of the viewer. FULL_ACCESS means having access to all resources on the trust center. PARTIAL_ACCESS means having access to all public resources and a select list of requestable resources.
  - `ndaInfo` object, nullable, required — NDA-related information for the viewer.
    - `docuSign` object, nullable, required — Contains information about the DocuSign NDA if that is the NDA provider.
      - `envelopeId` string, required — ID of the created envelope in DocuSign.
      - `accountId` string, required — ID of the DocuSign account.
      - `accountBaseUrl` string, required — eSignature API URL for the DocuSign account.
    - `oneClick` object, nullable, required — Contains information about the click-wrap NDA if that is the NDA provider.
      - `ndaUploadedDocumentId` string, nullable, required — ID for the NDA document that was signed.
      - `name` string, required — Name of the person who signed the NDA.
      - `date` string, date-time, required — The date the NDA document was signed.
    - `provider` 'DOCUSIGN' | 'ONE_CLICK' | 'SFDC_BYPASS' | 'HUBSPOT_BYPASS' | 'IRONCLAD_BYPASS', required — The provider for a viewer's NDA. This can also be a provider that bypassed the NDA requirement, e.g. SFDC.
    - `satisfiedDate` string, date-time, nullable, required — The date the NDA was satisfied.
  - `externalServiceAssociations` object[], nullable, required — Objects in external services that the viewer is associated with.
    - `objectType` string, required — The type of object in the external service the viewer was linked to.
    - `id` string, required — The ID of the user in the external service.
    - `service` 'SALESFORCE' | 'HUBSPOT' | 'IRONCLAD', required — An external service that a Trust Center viewer may be associated with.
  - `creationDate` string, date-time, required — Date the viewer was created.
  - `updatedDate` string, date-time, required — Date the viewer was last updated.
  - `expirationDate` string, date-time, nullable, required — Expiration date for the viewer's access.
  - `addedByUser` CustomerTrustUser, required
    - `id` string, required
    - `organizationId` string, required
    - `email` string, required
    - `givenName` string, nullable, required
    - `familyName` string, nullable, required
  - `customerTrustAccountId` string, nullable, required — ID of the Customer Trust Account associated with this viewer.

---

[API](https://skmtc.net/vanta/apis/build-integrations.md) · [All operations](https://skmtc.net/vanta/apis/build-integrations/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vanta/build-integrations/versions/6c1f7590538b/schema)
