Delete file from storage
DELETE
Storage object paths are unique across the entire bucket, not per tenant. Prefix paths with the tenant ID or another unique namespace, for example tenants/<tenant_id>/avatars/me.png.
header
X-Session-Token<token>Kratos session JWT token. Alternative to cookie authentication for non-browser clients.
application/json- body
path*stringBucket-wide object path. Prefix with the tenant ID or another unique namespace.
OK
application/json- response
message*stringcurl -X DELETE 'https://api.omnibase.tech/api/v1/storage/object' \ -H 'Content-Type: application/json' \ -d '{ "path": "tenants/00000000-0000-4000-8000-000000000000/avatars/me.png"}'Example Response
{ "message": "string"}