{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Deletes an object from an R2 bucket.\n\nFor most workloads, we recommend using R2's [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.\n","properties":{"path":{"type":"object","properties":{"account_id":{"$ref":"#/definitions/r2_account_identifier"},"bucket_name":{"$ref":"#/definitions/r2_bucket_name"},"object_key":{"description":"The key (name) of the object to delete. May contain slashes for path-like keys.\nSlashes (`/`) within the key MUST be sent literally and MUST NOT be percent-encoded\n(i.e. `%2F`); other reserved characters should be percent-encoded as usual.\n","type":"string","examples":["path/to/my-object.txt"]}},"required":["account_id","bucket_name","object_key"],"additionalProperties":false},"headers":{"type":"object","properties":{"cf-r2-jurisdiction":{"type":"string","default":"default","enum":["default","eu","us","fedramp","fedramp-high"],"description":"Jurisdiction where objects in this bucket are guaranteed to be stored."}},"required":[],"additionalProperties":false}},"required":["path"],"additionalProperties":false,"definitions":{"r2_account_identifier":{"description":"Cloudflare account ID that owns the R2 resource.","type":"string","maxLength":32,"examples":["023e105f4ecef8ad9ca31a8372d0c353"]},"r2_bucket_name":{"description":"Name of the bucket.","type":"string","maxLength":64,"minLength":3,"pattern":"^[a-z0-9][a-z0-9-]*[a-z0-9]","examples":["example-bucket"]}}},"name":"Delete Object","id":"cloudflare.r2-delete-object","example":{"path":{"account_id":"023e105f4ecef8ad9ca31a8372d0c353","bucket_name":"example-bucket","object_key":"path/to/my-object.txt"}},"maxRequests":1,"summary":false}}