get_credential
get_credential
Section titled “get_credential”Fetch one credential’s full record by ID.
Side effects: None (read-only).
Same shape as one entry from list_credentials plus any
type-specific fields (card_id for NFC, pin_length for PIN,
device_label for mobile).
Example
Section titled “Example”get_credential(credential_id="cred...", controller="default")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
credential_id | string | yes | — | Credential id from list_credentials. |
controller | string | no | ”default” | Name of the UniFi controller to target. |