Create Multiple Linked Access Codes
Create access codes across multiple devices that share a common code
Last updated
Was this helpful?
Create access codes across multiple devices that share a common code
Last updated
Was this helpful?
device_ids
type: string[]
ID of the Device
name
type: string Optional
Name of Access Codes
starts_at
type: string Optional
From when is the code valid
ends_at
type: string Optional
Code expiry
behavior_when_code_cannot_be_shared
type: enum
Optional, default throw
If throw
, no access codes will be created if any device cannot share a code. If create_random_code
, a random code will be created on devices that cannot share a code.
preferred_code_length
type: number Optional
Preferred code length If the affected devices do not support the preferred code length, Seam reverts to using the shortest supported code length.
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.
/access_codes/create_multiple
throw
, create_random_code
No body