Update a Credential
Update the code for a specified credential
Updates the code for a specified credential.
You can only update a credential for Latch or PTI Storlogix Cloud.
/acs/credentials/update
OK
Request
Specify the desired credential and updated code by including the corresponding acs_credential_id
and code
parameters, respectively, in the request body.
Request Body Parameters
Parameter | Type | Description |
---|---|---|
| String (UUID) Required | ID of the desired credential. |
| String Optional | Replacement access (PIN) code for the credential. |
| Datetime Optional | 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 |
Sample Request
Response
Returns an acs_credential
containing the following properties:
Property | Description |
---|---|
| ID of the credential |
| ID of the user to whom the credential belongs |
| Display name that corresponds to the credential type |
| Access (PIN) code for the credential |
| ID of the access control system that contains the credential |
| Access method for the credential. Supported values: |
| Brand-specific terminology for the credential type |
| Display name that corresponds to the brand-specific terminology for the credential type |
| ID of the workspace that contains the credential |
| Date and time at which the credential was created |
| Indicates whether the credential is a multi-phone sync credential |
| Date and time at which the credential validity starts, in ISO 8601 format |
| Date and time at which the credential validity ends, in ISO 8601 format |
| ACS manufacturer-specific metadata for the credential, where |
Sample Response
This response contains manufacturer-specific metadata that may vary by manufacturer.
Last updated