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.
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.
