/v1/consentUpdate Team-Level Consent
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/{agent_id} instead.
A 400 is returned: There was an error parsing the request body. A 401 is returned: Authentication failed due to invalid credentials. A 429 is returned: The API rate limit has been exceeded. A 500 is returned: There was a server error. Any other status is an error: There was an unexpected error.