GET/v1/devices
List keypad devices
Returns the environment's keypad devices, one page at a time, retired ones only when asked, or only those assigned to customerExternalId. Needs customers:read.
curl 'https://api.entitler.co/v1/devices' \
-H "Authorization: Bearer $ENTITLER_KEY"Credentials
Send any one of these:
- Bearer token
Query parameters
| Name | Type | Description |
|---|---|---|
target.team_id | string | |
target.project_id | string | |
target.environment_id | string | |
include_retired | boolean | |
page_size | integer (int64) | |
page_token | string | |
customer_external_id | string |
Responses
200The ListDevicesResponse message.
ListDevicesResponse
devicesarray of KeypadDevicerequiredassignedAtintegerat least 0; at most 18446744073709552000
customerExternalIdstringdigitsKeypadDigitsrequiredOne of
KEYPAD_DIGITS_UNSPECIFIED,KEYPAD_DIGITS_FULL,KEYPAD_DIGITS_RESTRICTED.externalIdstringrequiredidstringrequiredproductIdstringregisteredAtintegerrequiredat least 0; at most 18446744073709552000
retiredAtintegerat least 0; at most 18446744073709552000
nextPageTokenstring
ErrorA refusal, with the HTTP status of its gRPC code.
Error
errorobjectrequiredcodestringrequiredparametersobjectrequiredEach value: string
reasonstringor nullrequired