Docs
Metrics and telemetry ›

Delete telemetry

DELETE/v1/telemetry

Stop sending to the collector.

RequestTypeScript
  1. import { Agental } from "agental-sdk";
  2. const agental = new Agental();
  3. await agental.deleteTelemetry();
Answer204 No Content

No body: the status says it was done.

The collector is removed, with its headers, and nothing more is sent to it.

Headers

Authorizationrequired
Bearer key
An API key that may make this call.

Returns

204 The collector is removed, with its headers, and nothing more is sent to it.

Errors and other answers

403role_required in a team, only an owner or an admin changes or tries its collector.
404not_found no collector is set.
501telemetry_unavailable nothing is sent to a collector here. GET /v1/policy says so as telemetry.

Every error answers { "error": { "code", "message" } }; a key without the action a call needs answers 403 key_action_forbidden, naming it.