Clatter LabsHelp Center

How do I delete a project with the API?

How-toUpdated

Over the API, a project can only be deleted when it's empty: delete each bucket first (download or back up anything you need), then the project.

curl -X DELETE https://api.codebuckets.clatterlabs.xyz/v1/projects/PROJECT_ID \
  -H "Authorization: Bearer $CLATTER_API_KEY" \
  -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID"

If it still has buckets you get 409 project_not_empty. Once deleted, the project disappears from your lists and the API.

Learn more#

Related articles

Still need help?

Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.

Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyz
For deleting your whole account or the data of one service.