Deletes:
- Objects
- Versions (purge)
- Annotations
- Empty directories
- ACLs
- Symbolic links
Permissions
For all operations: delete
For purge: purge
For privileged operations: privileged
Elements
For all operations:
- Authorization header
- Object, directory, or symbolic link URL
For privileged operations, these as URL query parameters or form-encoded data:
privileged=true reason=reason-text
To purge all versions, this as a URL query parameter or form-encoded data:
purge=true
To delete an annotation, these as URL query parameters:
type=custom-metadata annotation=annotation-name
The annotation name is optional for the default annotation.
To delete an ACL, this as a URL query parameter:
type=acl
Response headers
- X-HCP-Time
- X-HCP-ServicedBySystem
- X-HCP-ErrorMessage
(if an error occurred and more information is available)
Status codes
Success: 200, 204
Error: 400, 403, 404, 409, 414, 500, 503