Skip to main content

Overview

useDeleteSpace returns a callable function for deleting a space. Only space admins can delete a space. Deletion cascades to all entities, members, child spaces, rules, and reports associated with the space.
Deleting a space is permanent. All entities, comments, members, child spaces, and rules belonging to the space are also deleted.

Usage Example

Parameters

string
required
UUID of the space to delete.

Returns

string
Confirmation message.
object
The id and name of the deleted space.
object
Counts of deleted resources: entities, members, childSpaces.