Updates a version of a credential.

Updates a version of a credential. Use google.protobuf.FieldMask to specify which of the following fields you want to update:

  • Issue date
  • Expiration date
  • Media attachments

This endpoint requires the "Platform management: Credentials" permission.

Body Params
string

Required. The user ID to add the credential to

string

Required. The ID of the credential.

string

Required. The ID of the new credential version.

document_version_attributes
object

Intrinsic attributes associated with a credential version.

string

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.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json