Update a Credential
Updates the code and ends at date and time for a specified credential.
Updates the code and ends at date and time for a specified credential.
Code:
await seam.acs.credentials.update({
acs_credential_id: "1d4fb22b-743b-492f-ad74-cffcbd63c874",
code: "1234",
ends_at: "2025-06-18T10:42:53.000Z",
});Output:
// voidUpdates the code and ends at date and time for a specified credential.
Code:
curl --include --request POST "https://connect.getseam.com/acs/credentials/update" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"acs_credential_id": "1d4fb22b-743b-492f-ad74-cffcbd63c874",
"code": "1234",
"ends_at": "2025-06-18T10:42:53.000Z"
}
EOFOutput:
{}Updates the code and ends at date and time for a specified credential.
Code:
seam.acs.credentials.update(
acs_credential_id="1d4fb22b-743b-492f-ad74-cffcbd63c874",
code="1234",
ends_at="2025-06-18T10:42:53.000Z",
)Output:
NoneUpdates the code and ends at date and time for a specified credential.
Code:
seam.acs.credentials.update(
acs_credential_id: "1d4fb22b-743b-492f-ad74-cffcbd63c874",
code: "1234",
ends_at: "2025-06-18T10:42:53.000Z",
)Output:
nilUpdates the code and ends at date and time for a specified credential.
Code:
$seam->acs->credentials->update(
acs_credential_id: "1d4fb22b-743b-492f-ad74-cffcbd63c874",
code: "1234",
ends_at: "2025-06-18T10:42:53.000Z"
);Output:
Updates the code and ends at date and time for a specified credential.
Code:
seam acs credentials update --acs_credential_id "1d4fb22b-743b-492f-ad74-cffcbd63c874" --code "1234" --ends_at "2025-06-18T10:42:53.000Z"Output:
{}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
Last updated
Was this helpful?

