Clatter LabsHelp Center

How do I delete a file from a bucket?

How-toUpdated
curl -X DELETE "$CB/v1/buckets/BUCKET_ID/objects/OBJECT_ID" \
  -H "Authorization: Bearer $CLATTER_API_KEY" -H "X-Clatter-Account: $CLATTER_ACCOUNT_ID"
  • The object stops counting toward the bucket's 10 GB.
  • If it was public, its link stops working.
  • The code tree isn't changed: deleting a zip doesn't remove the code it unpacked. Upload a new zip to change the tree.
  • A backup taken while the object was stored brings it back on restore.
  • An object.deleted event is recorded.

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.