Delete Space

Last Updated on : 2023-06-21 07:13:12download

Delete a space under a project with specified parameters such as the community ID and space ID.

API address

DELETE: /v1.0/iot-02/community/space/{block_id}/{tree_id}

Request parameter

Parameter nameTypeINRequiredDescription
block_idStringuritrueThe ID of a community.
tree_idStringuritrueThe ID of a specified space node.

Return parameter

Parameter nameTypeDescription
resultBooleanIndicates whether the operation is successful.

Request example

DELETE: /v1.0/iot-02/community/space/136767399153950xxxx/136767399153930xxxx
/v1.0/iot-02/community/xxxid

Return example

true

Error code

For more information, see error code.