Skip to content

Delete an event store

DELETE
/api/event-stores/{eventStoreName}

Permanently deletes an event store and all its data. This operation cannot be undone.

eventStoreName
required

Event store name (automatically scoped to your organization)

string

Event store name (automatically scoped to your organization)

confirm
required

Confirmation needed to delete the event store

string
Allowed values: true

Confirmation needed to delete the event store

Event store deleted successfully

object
success
required
boolean
message
required
string
Examples
{
"success": true,
"message": "Event store deleted successfully"
}

Missing confirmation

object
error
required

Error type

string
message
required

Human-readable error message

string
details

Additional error details

object
key
additional properties
nullable
Examples
{
"error": "CONFIRMATION_REQUIRED",
"message": "Please confirm this operation by setting confirm=true",
"details": {
"eventStoreId": "es_1234567890"
}
}

Event store not found

object
error
required

Error type

string
message
required

Human-readable error message

string
details

Additional error details

object
key
additional properties
nullable
Examples
{
"error": "EVENT_STORE_NOT_FOUND",
"message": "The specified event store does not exist",
"details": {
"eventStoreId": "es_nonexistent"
}
}

Internal server error

object
error
required

Error type

string
message
required

Human-readable error message

string
details

Additional error details

object
key
additional properties
nullable