---
title: "DELETE /v2/connections/billing/{connection_id}"
method: DELETE
path: "/v2/connections/billing/{connection_id}"
tags: ["billing_connections"]
---

# DELETE /v2/connections/billing/{connection_id}

`DELETE /v2/connections/billing/{connection_id}`

Delete a single Billing Connection
Upon disconnect of a billing connection, after the next ingest, all billing data related to that connection will be removed from the platform. However, be aware that although this data is no longer visible in the platform, it will still exist in the CloudZero data stores. If you need a more permanent deletion due to audit or security concerns, see your CloudZero Account Manager.
Note: This is not supported for AWS and Snowflake connections

## Path parameters

- `connection_id` string, required

## Headers

- `cloudzero-idempotency-key` string
- `cloudzero-test-key` string

## Response `200`

Successful Operation

- object
  - `connection` BillingConnection
    - `id` string, required
    - `name` string, required
    - `connection_type` string, required
    - `cloud_provider` string, required
    - `s3_bucket_info` S3BucketInfoNew, required
      - `bucket_name` string, required
      - `bucket_path` string, required
      - `cloud_account_id` string — This is the AWS Account ID with the S3 Bucket that the AnyCost Adaptor will be writing Common Bill Format files into.
    - `expected_ingest_rate` number, float, required
    - `is_enabled` boolean, required
    - `capabilities` object, required
    - `is_draft` boolean, required
    - `connection_id` string, required
    - `created` string, required — String representation of an epoch (UTC timestamp)
    - `last_updated` string, required — String representation of an epoch (UTC timestamp)

## Other responses

- `400` — Bad Request Error
- `403` — Forbidden

---

[API](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources.md) · [All operations](https://skmtc.dev/cloudzero/apis/cloudzero-api-v2-resources/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudzero/cloudzero-api-v2-resources/revisions/fd805a0e75e5/schema)
