v1
lock-devices
{id}
codes
bearer
In: header
header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
curl -X POST "https://example.com/v1/lock-devices/string/codes" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "code": "1234" }'
Human-readable label for this code
PIN code (4-8 digits)
ISO 8601 start datetime (required together with endsAt)
ISO 8601 end datetime (required together with startsAt)