Update an Access Code

Update an Access Code for a Device by its ID

Update an Access Code

PUT https://connect.getseam.com/access_codes/update

Request Body

Name
Type
Description

access_code_id*

String

Access code id

name

String

Access code name

code

String

Access code

starts_at

String

ends_at

String

{
  "action_attempt": {
    "status": "pending",
    "action_type": "UPDATE_ACCESS_CODE",
    "action_attempt_id": "bbb8a07d-a91d-4564-b002-8172f7cdadc4",
    "result": null,
    "error": null
  },
  "ok": true
}

Code Example

Parameters

access_code_id

type:string

ID of the Access Code

device_id

type: string Optional

ID of the Device

name

type: string Optional

Name of Access Code

starts_at

type: string Optional

From when is the code valid

ends_at

type: string Optional

Code expiry

code

type: string Optional

Access code of Device

Response

This section shows the JSON response returned by the API. Since each language encapsulates this response inside objects specific to that language and/or implementation, the actual type in your language might differ from what’s written here.

JSON format

Last updated

Was this helpful?