Cloud APIs
MemoryStoresApi
flushAllQueues

flushAllQueues

Removes all items from every queue in a given universe.

Parameters

NameTypeDescription
universeIdUniverseIdThe id of the universe to flush all queue items from.

Example

const { data: createdOperation } = await MemoryStoresApi.flushAllQueues({ universeId: 5243626809 }); 

Example Data

{
  path: "cloud/v2/universes/5243626809/operations/AAUAAAAAAADRMx55T0AKRxSgFCrSusMzqOKQNyVaQz8eMi9t-dwQwQ",
  done: false,
  id: "AAUAAAAAAADRMx55T0AKRxSgFCrSusMzqOKQNyVaQz8eMi9t-dwQwQ",
} 

Endpoint

POST /v2/universes/${universeId}/memory-store:flush