Delete space API

edit

Refer to spaces APIs.