Skip to main content
POST
/
memory-bucket
/
delete
curl -X POST "https://memoryapi-production.up.railway.app/memory-bucket/delete" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: xinobi" \
  -d '{
    "bucket_id": "550e8400-e29b-41d4-a716-446655440000"
  }'
{
  "success": true,
  "bucket_id": "550e8400-e29b-41d4-a716-446655440000",
  "deleted_at": "2024-01-01T00:00:00",
  "message": "Memory bucket 550e8400-e29b-41d4-a716-446655440000 deleted successfully (mock)"
}

Headers

X-API-Key
string
required
API authentication key (secret: xinobi)

Request Body

bucket_id
string
required
Unique identifier of the bucket to delete

Response

success
boolean
Whether the operation was successful
bucket_id
string
ID of the deleted bucket
deleted_at
string
ISO 8601 timestamp of deletion
message
string
Success message
curl -X POST "https://memoryapi-production.up.railway.app/memory-bucket/delete" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: xinobi" \
  -d '{
    "bucket_id": "550e8400-e29b-41d4-a716-446655440000"
  }'
{
  "success": true,
  "bucket_id": "550e8400-e29b-41d4-a716-446655440000",
  "deleted_at": "2024-01-01T00:00:00",
  "message": "Memory bucket 550e8400-e29b-41d4-a716-446655440000 deleted successfully (mock)"
}