Delete Space

Last Updated on : 2024-06-28 22:51:30download

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.