pydo.monitoring.update_destination()
Generated on 7 Jul 2026
from pydo version
v0.39.0
Usage
client.monitoring.update_destination(
destination_uuid="1a64809f-1708-48ee-a742-dec8d481b8d1",
body={
"name": "managed_opensearch_cluster",
"type": "opensearch_dbaas",
"config": {...},
},
)Description
To update the details of a destination, send a PATCH request to /v2/monitoring/sinks/destinations/${destination_uuid}.
Parameters
destination_uuidstring requiredA unique identifier for a destination.
namestring optionalExample:
managed_opensearch_clusterdestination name
typestring requiredThe destination type.
opensearch_dbaasfor a DigitalOcean managed OpenSearch
cluster oropensearch_extfor an externally managed one.configobject requiredShow child properties
credentialsobject optionalCredentials for an OpenSearch cluster user. Optional if
cluster_uuidis passed.Show child properties
usernamestring optionalExample:
usernamepasswordstring optionalExample:
password
endpointstring requiredExample:
example.comhost of the OpenSearch cluster
cluster_uuidstring optionalExample:
85148069-7e35-4999-80bd-6fa1637ca385A unique identifier for a managed OpenSearch cluster.
cluster_namestring optionalExample:
managed_dbaas_clusterName of a managed OpenSearch cluster.
index_namestring optionalExample:
logsOpenSearch index to send logs to.
retention_daysinteger optionalExample:
14Number of days to retain logs in an OpenSearch cluster.
Request Sample
More Information
See /v2/monitoring/sinks/destinations/{destination_uuid} in the API reference for additional detail on responses, headers, parameters, and more.