delete_space
Erase the caller's space and everything under it — hard, immediate and safe to retry.
async fn delete_space(&self) -> Result<SpaceErased, BrainHttpError>async fn delete_space(&self, request: &SpaceDeleteRequest) -> Result<SpaceDeleteResponse>Returns
spacestringalwaysThe space that was erased.
existedbooleanalwaysfalse when there was nothing to erase. A repeat reaches the same end state and answers false, which is what makes the call safe to retry.
memories_forgotten64-bit integeralwaysHow many memories went with it.
There is no undo and no grace period
This is not a tombstone. The space and its memories, statements, entities and relations are gone. If you want reversible removal of one memory, use forget in its soft mode instead.
You do not choose your space on the HTTP tier
The space comes from the credential. These verbs act on the caller's space. Addressing another space per request is a wire-tier capability — see act_as. Per-end-user isolation is a storage-key prefix inside one space, not a key per user; see Namespaces.
Was this page helpful?