pydo.signals.update_team_consent()
Generated on 6 Nov 2026
from pydo version
v0.45.0
Usage
client.signals.update_team_consent(
source="inference",
body={
"enabled": True,
},
)Description
To enable or disable signals collection for a source that is consented at
the team level, send a PUT request to /v1/consent?source=inference with
an enabled boolean in the request body. Currently the only team-level
source is inference, which covers Serverless Inference chat completions
made by your team.
To revoke consent, send the same request with enabled set to false.
The source query parameter is required. Per-environment consent for Harness
Runtime environments is managed with PUT /v1/consent/{environment_id} instead.
Parameters
sourcestring requiredExample:
inferenceThe 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 withPUT /v1/consent/{environment_id}instead.enabledboolean requiredWhether to enable signals collection for this source.
Request Sample
Response Example
More Information
See /v1/consent in the API reference for additional detail on responses, headers, parameters, and more.