Home / Servers / DigitalOcean API / signals_update_consent

Update Consent for an Environment

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Update Consent for an Environment To enable or disable signals collection for a specific environment, send a PUT request to /v1/consent/{environment_id} with an enabled boolean in the request body. This endpoint only manages… [PUT /v1/consent/{environment_id}]

Name on the gateway: digitalocean_api__signals_update_consent · may change things.

Parameters

NameTypeDescription
environment_id requiredstringA unique identifier for an environment. For Harness…
enabled requiredbooleanWhether to enable signals collection for this environment.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__signals_update_consent",
  "arguments": {
    "environment_id": "…",
    "enabled": true
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update consent for an environment tool with environment_id set to ….

More from DigitalOcean API