Update a Credential

PATCH /acs/credentials/update ⇒ void

Updates the code and ends at date and time for a specified credential.

Request

await seam.acs.credentials.update({
  acs_credential_id: "66666666-6666-6666-6666-666666666666",
  code: "7890",
});

Response

// void

Authentication Methods

  • API key

  • Personal access token

Request Parameters

acs_credential_id

Type: string Required: Yes

ID of the desired credential.


code

Type: string Required: No

Replacement access (PIN) code for the credential.


ends_at

Type: string Required: No

Replacement date and time at which the validity of the credential ends, in ISO 8601 format. Must be a time in the future and after the starts_at value that you set when creating the credential.


Return Type

void

Last updated

Logo

© Seam Labs, Inc. All rights reserved.