v1

latestOpenAPI 3.1.0BSD-32026-07-2471176175.5 KB
telemetry

Delete a telemetry stream

Mark a telemetry stream for deletion. It may take several minutes for this operation to complete. During that time you will be unable to create a new telemetry stream with the same name. To force deletion of a stream that has associated data, send a JSON request body with {"force": true}. Note that some HTTP clients may not support request bodies on DELETE — if your client drops the body, use a tool like curl that supports it.

delete/unit-cost/v1/telemetry/{telemetry_stream_name}

Path parameters

telemetry_stream_namestring required

The name of the telemetry stream or metric to delete

Headers

Authorizationstring required

Your CloudZero API Key. Note: This is not a bearer token, and should appear in the header as Authorization: <cloudzero-api-key>

Request body

forceboolean

If true, forces deletion even if the stream has associated data. Without this flag, streams with data may not be deleted.

Response

Telemetry stream was marked for deletion