v1

latestOpenAPI 3.0.02026-07-22201291.8 MB
/access_codes

Report Device Access Code Constraints

Enables you to report access code-related constraints for a device. Currently, supports reporting supported code length constraints for SmartThings devices.

Specify either supported_code_lengths or min_code_length/max_code_length.

post/access_codes/report_device_constraints

Request body

device_idstring uuid required

ID of the device for which you want to report constraints.

max_code_lengthinteger

Maximum supported code length as an integer between 4 and 20, inclusive. You can specify either min_code_length/max_code_length or supported_code_lengths.

min_code_lengthinteger

Minimum supported code length as an integer between 4 and 20, inclusive. You can specify either min_code_length/max_code_length or supported_code_lengths.

supported_code_lengthsinteger[]

Array of supported code lengths as integers between 4 and 20, inclusive. You can specify either supported_code_lengths or min_code_length/max_code_length.

Response

OK

object required