Update a Credential

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

Specify the desired acs_credential_id and updated code to update the credential.

Code

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

Output

// void
Authentication Methods
  • API key

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authentication.

Request Parameters

acs_credential_id String (Required)

ID of the credential that you want to update.


code String

Replacement access (PIN) code for the credential that you want to update.


ends_at String

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.


Response

void


Examples

Last updated

Was this helpful?

Revision created

ci: Generate docs