list_credentials
list_credentials
Section titled “list_credentials”List every credential enrolled in the Access controller.
Side effects: None (read-only).
Returns one record per credential with id, type (nfc,
pin, or mobile), label, user_id, status,
issued_at (ms), and expires_at (ms or null for non-expiring
mobile credentials).
Example
Section titled “Example”list_credentials(controller="default")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
controller | string | no | ”default” | Name of the UniFi controller to target. |