Responses
-
200 application/json
Telemetry configuration updated successfully
-
403 application/json
User must have Platform level permissions. (code:
root.unauthorized.rbac
) -
409 application/json
The telemetry configuration did not exist so there was an attempt to create one. Another request resulted in the creation of a telemetry configuration before this request completed, resulting in the failure of this request to create a configuration. Please retry. (code:
telemetry.already_exists
) -
500 application/json
Failed to set the configuration due to an internal server error. (code:
telemetry.request_execution_failed
)
PUT
/phone-home/config
curl \
--request PUT 'https://{{hostname}}/api/v1/phone-home/config' \
--user "username:password" \
--header "Content-Type: application/json" \
--data '{"enabled":true}'