Skip to content

Delete namespace

DELETE /v4/namespace/{type}/{namespace}

Delete a namespace. The path parameter type specifies the namespace type (storage or stream), and namespace specifies the namespace name to delete.

Response schema

FieldTypeDescription
durationstringTime taken to process the request, returned in a human-readable format (e.g., "1.234567ms").

Example

sh
curl --location --request DELETE 'https://api.litebase.io/v4/namespace/storage/sample' \
--header "Authorization: Bearer $LITEBASE_API_KEY"

Response:

json
HTTP/1.1 200 OK
Content-Type: application/json

{
    "duration": "1.234567ms"
}