Delete Space

Last Updated on : 2024-09-10 01:49:15

Delete an existing space. If the space contains subspaces, the subspaces will be deleted together.

API address

DELETE: /v2.0/cloud/space/{space_id}

Request parameter

Parameter nameTypeINRequiredDescription
space_idLonguritrueThe ID of the specified space.

Return parameter

Parameter nameTypeDescription
successBooleanIndicates whether the operation is successful. Valid values:
  • true: The operation succeeded.
  • false: The operation failed.
error_codeStringFor more information, see the error codes.
error_msgStringThe message that is returned if the request fails. It is empty if the request is successful.
resultBooleanIndicates whether the deletion operation is successful. Valid values:
  • true: The operation succeeded.
  • false: The operation failed.

Request example

DELETE: v2.0/cloud/space/{70735***}

Return example

{
    "result": true,
    "success": true
}

Error code

For more information, see error code.

Limits on API Request Frequency

For more information, see Limits on API Request Frequency.