v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_Monitoring

Update Logging Destination

To update the details of a destination, send a PATCH request to /v2/monitoring/sinks/destinations/${destination_uuid}.

post/v2/monitoring/sinks/destinations/{destination_uuid}

Path parameters

destination_uuidstring required

A unique identifier for a destination.

Request body

namestring

destination name

type'opensearch_dbaas' | 'opensearch_ext' required

The destination type. opensearch_dbaas for a DigitalOcean managed OpenSearch cluster or opensearch_ext for an externally managed one.

Example request

{
  "name": "managed_opensearch_cluster",
  "config": {
    "credentials": {
      "username": "username",
      "password": "password"
    },
    "endpoint": "example.com",
    "cluster_uuid": "85148069-7e35-4999-80bd-6fa1637ca385",
    "cluster_name": "managed_dbaas_cluster",
    "index_name": "logs",
    "retention_days": 14
  }
}

Response

The action was successful and the response body is empty.