Delete Organization and Members

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

When you delete an organization, the organization management account and member account will be deleted at the same time.

API address

DELETE: /v1.0/iot-03/idaas-prod/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-prod/spaces/1400335346549391440/organizations/Acode?uid=ownerUid

Return example

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

Error code

For more information, see error code.