Responses
-
Telemetry configuration updated successfully
-
User must have Platform level permissions. (code:
root.unauthorized.rbac
) -
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
) -
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}'