{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To enable or disable signals collection for a source that is consented at\nthe team level, send a PUT request to `/v1/consent?source=inference` with\nan `enabled` boolean in the request body. Currently the only team-level\nsource is `inference`, which covers Serverless Inference chat completions\nmade by your team.\n\nTo revoke consent, send the same request with `enabled` set to `false`.\nThe `source` query parameter is required. Per-environment consent for Harness\nRuntime environments is managed with `PUT /v1/consent/{environment_id}` instead.\n","properties":{"query":{"type":"object","properties":{"source":{"type":"string","enum":["inference"],"examples":["inference"],"description":"The consent source to update. Only team-level sources are accepted on this endpoint; currently `inference` (Serverless Inference chat completions). Per-environment consent (`agent`) is managed with `PUT /v1/consent/{environment_id}` instead."}},"required":["source"],"additionalProperties":false},"body":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether to enable signals collection for this source."}},"required":["enabled"],"examples":[{"enabled":true}]}},"required":["query","body"],"additionalProperties":false},"name":"Update Team-Level Consent","id":"digitalocean.signals_update_team_consent","example":{"query":{"source":"inference"},"body":{"enabled":true}},"maxRequests":1,"summary":false}}