v1.0.0
OpenAPI 3.1.0

Delete a collection source

US region

Client Libraries

Delete a collection source

​

Disconnect a bucket from your workspace. Collections that you already wrote from the source keep their rows. After you delete a source, Customer.io responds to a new write request that names it with a 422. A write request that you queued before you deleted the source fails with the code source-refused. A sync that reads from the source stops with the state failed, so delete the sync or point it at another source.

Path Parameters
  • source_id
    Type: string
    required

    The identifier for a collection source (like a bucket in Amazon S3, Google Cloud Storage, or Azure Blob Storage).

Responses
  • 204

    The source is deleted.

  • 404

    Your workspace doesn't have a source with this id.

  • application/json
Request Example for delete/v1/collections/sources/{source_id}
curl 'https://api.customer.io/v1/collections/sources/{source_id}' \
  --request DELETE \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No Body