Delete Organization

Last Updated on : 2023-07-06 08:24:04download

Delete a specified organization and set its status to be not enabled.

API address

DELETE: /v1.0/iot-03/idaas/spaces/{space_id}/organizations/{code}

Request parameter

Parameter nameTypeINRequiredDescription
codeStringuritrueThe identifier of a specified organization.
space_idStringuritrueThe ID of a specified space.
uidStringquerytrueThe identifier of the current user.

Return parameter

Parameter nameTypeDescription
resultBooleanThe result of deletion.

Request example

DELETE: /v1.0/iot-03/idaas/spaces/1400335346549391440/organizations/Acode?uid=ownerUid

Return example

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

Error code

For more information, see error code.