v1

latestOpenAPI 3.1.02026-07-263911,4691.1 MB
Credentials

Updates a version of a credential.

put/credentials/v1/credential/version

Request body

user_idstring

Required. The user ID to add the credential to

document_idstring

Required. The ID of the credential.

version_idstring

Required. The ID of the new credential version.

update_maskstring

Required. The attributes (such as name etc.) you want to update for the credential version. The contents should reference fields of the DocumentVersionAttributes message. For example, 'update_mask=media,expiry_period_start_date' indicates that only the media and expiry_period_start_date fields of the DocumentVersionAttributes message should be updated. Any other attributes provided in the DocumentVersionAttributes body will be ignored.

Response

A successful response.

S12UserdocumentsV1UpdateDocumentVersionForUserResponse required