Skip to main content
DELETE
/
:projectId
/
api
/
v7
/
spaces
/
:spaceId
Delete Space
curl --request DELETE \
  --url https://api.replyke.com/api/v6/:projectId/api/v7/spaces/:spaceId
{
  "message": "<string>"
}
Permanently deletes a space. All entities, members, child spaces, rules, and reports belonging to the space are also deleted. Only the space’s creator (the original owner) can perform this action.
This operation is irreversible. All associated data including child spaces will be permanently deleted.

Path Parameters

spaceId
string
required
UUID of the space to delete.

Response

message
string
Confirmation message: "Space deleted successfully."

Error Responses

{ "error": "Space not found.", "code": "space/not-found" }
{ "error": "Space deletion is disabled for this project.", "code": "space/deletion-disabled" }
{ "error": "Only the space creator can delete the space.", "code": "space/creator-required" }
See also: useDeleteSpace