dots.v2.insights.resources.byResource_urn().signals.put()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.insights.resources.byResource_urn(resource_urn).signals.put(body: Resource_signals_update_request, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Resource_response>Description
To enable or disable telemetry signals for a resource, send a PUT request to
/v2/insights/resources/{resource_urn}/signals.
This endpoint uses merge semantics. Set metrics, logs, or traces to
true or false to change that signal; omit a signal to leave it unchanged.
At least one signal must be set.
region is only used when the resource has no existing enablement. On later
updates, omit it or send the stored value; changing the region is rejected
with a 400.
Requires both the insights:update and insights:create scopes.
Parameters
Path Parameters
resource_urnstring requiredExample:
do:droplet:12345The uniform resource name (URN) of the resource, for example
do:droplet:12345.
Request Body
regionstring optionalExample:
nyc3The region slug for region-specific resources. Only used when the resource has no existing enablement. On later updates, omit it or send the stored value; changing the region is rejected.
metricsboolean optionalExample:
trueEnable or disable the metrics signal. Omit to leave unchanged.
logsboolean optionalExample:
trueEnable or disable the logs signal. Omit to leave unchanged.
tracesboolean optionalExample:
falseEnable or disable the traces signal. Omit to leave unchanged.
Request Sample
Response Example
More Information
See /v2/insights/resources/{resource_urn}/signals in the API reference for additional detail on responses, headers, parameters, and more.