getSiteDeviceZtpPassword

GET https://{{host}}/api/v1/sites/:site_id/devices/:device_id/request_ztp_password

In the case where something happens during/after ZTP, the root-password is modified (required for ZTP to set up outbound-ssh) but the user-defined password config has not be configured. This API can be used to retrieve the temporary password.

RESPONSES

status: OK

{"root_password":"ef8070ef8f924edb592e1819ed64b31172ab8de9d5cde75d3f46acd9506202ab9b1cbb97e381c5aa11037f17e5ed7b4b609461cd813d944670549d410ef82f2e"}