DeleteObject

Permanently remove an object from storage.

If there is not an object with the inputted name, Tebi does not remove any objects and will still respond that the command was successful.

You can delete objects by explicitly calling DELETE Object. Or, you can configure its lifecycle (PutBucketLifecycleConfiguration) to enable Tebi to remove them for you.

You must have Delete ACL to be able to call this action.

The following operations are related to DeleteObject:

Request Syntax

1DELETE /<KEY> HTTP/1.1
2Host: <BUCKET>.s3.tebi.io

The request uses the following URI parameters:

  • <BUCKET>: Bucket name of the bucket containing the object. Required.

  • <KEY>: Key name of the object to delete. Required.

The request does not have a request body.

Response Syntax

1HTTP/1.1 204
2Content-Length: 0

If the action is successful, the service sends back an HTTP 204 response.

The response returns the following HTTP headers:

  • Content-Length: Always 0.

See Also

Refer here for more information.