Skip to main content
PATCH
Updates access codes that share a common code across multiple devices. Specify the common_code_key to identify the set of access codes that you want to update. See also Update Linked Access Codes.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
common_code_key
string
required

Key that links the group of access codes, assigned on creation by /access_codes/create_multiple.

Minimum string length: 1
ends_at
string

Date and time at which the validity of the new access code ends, in ISO 8601 format. Must be a time in the future and after starts_at.

name
string

Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.

starts_at
string

Date and time at which the validity of the new access code starts, in ISO 8601 format.

Response

OK

The response is of type object.