zcc_get_device_otp
Retrieve One-Time Password (OTP) bundle for a Zscaler Client Connector device, including logout, exit, uninstall, revert, and per-service disable OTPs. Requires the device's UDID.
Instructions
Get the One-Time Password (OTP) bundle for a Zscaler Client Connector device — includes logout_otp (One-Time Logout Password), exit_otp, uninstall_otp, revert_otp, and per-service disable OTPs (zia_disable_otp, zpa_disable_otp, zdx_disable_otp, zdp_disable_otp, anti_tempering_disable_otp, deception_settings_otp). Requires the device's udid (look it up via zcc_list_devices). The returned values are sensitive short-lived credentials — treat them like passwords (read-only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | The device's UDID (the canonical identifier ZCC uses for the enrolled endpoint). Look it up via `zcc_list_devices` — the field is exposed as `udid` on each device record. Either `udid` or `device_id` must be supplied; if both are given, `udid` wins. | |
| device_id | No | Alias for `udid`. Accepted for parity with the SDK's `device_id` query parameter — the SDK maps it to `udid` automatically before hitting the API. | |
| service | No | The service to use. | zcc |