Update event store settings
PATCH /api/event-stores/{eventStoreName}/settings
Updates the configuration settings for an event store
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Event store name (automatically scoped to your organization)
Event store name (automatically scoped to your organization)
Request Body
Section titled “Request Body ”object
Updated description for the event store
object
Number of days to retain events
Maximum size limit for a stream
Examples
{ "description": "Updated description for my event store"}{ "settings": { "retentionPeriodDays": 180, "maxStreamSizeBytes": 2147483648 }}Responses
Section titled “ Responses ”Event store settings updated successfully
object
Composite identifier (orgId:name) - use eventStoreName for API calls
Simple event store name for use in API calls
Durable Object ID for the event store
Durable Object ID for the event bus
Description of the event store
object
When this event store was created
Examples
{ "eventStoreID": "es_1234567890", "eventStoreName": "my-application", "eventStoreDurableObjectID": "do_eventstore_1234567890", "eventBusDurableObjectID": "do_eventbus_1234567890", "created": "2023-10-25T15:30:45Z", "settings": { "retentionPeriodDays": 180, "maxStreamSizeBytes": 2147483648 }}Invalid request parameters
object
Error type
Human-readable error message
Additional error details
object
Examples
{ "error": "NO_UPDATES", "message": "No updates were provided", "details": { "eventStoreId": "es_1234567890" }}Unauthorized - Organization ID not found in authentication context
object
Error type
Human-readable error message
Additional error details
object
Event store not found
object
Error type
Human-readable error message
Additional error details
object
Examples
{ "error": "EVENT_STORE_NOT_FOUND", "message": "The specified event store does not exist or has been deleted", "details": { "eventStoreId": "es_nonexistent" }}Internal server error
object
Error type
Human-readable error message
Additional error details