Remove an object
Learn how to remove an existing object.
Note: Removing an object does not require owner to be non-suspended.
Capabilities
`buckets=write`
Syntax
DELETE /admin/bucket?object&format=json HTTP/1.1
Host FULLY_QUALIFIED_DOMAIN_NAME
Request Parameters
bucket
- Description
-
The bucket containing the object to be removed.
- Type
-
String
- Example
-
foo_bucket - Required
-
Yes
object
- Description
-
The object to remove
- Type
-
String
- Example
-
foo.txt - Required
-
Yes
Response Entities
None.
Special Error Responses
NoSuchObject
- Description
-
Specified object does not exist.
- Code
-
404 Not Found
ObjectRemovalFailed
- Description
-
Unable to remove objects.
- Code
-
409 Conflict