Enable Organization

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

Enable a specified organization and set its status to be enabled.

API address

POST: /v1.0/iot-03/idaas/spaces/{space_id}/organizations/actions/enable

Request parameter

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

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result.

Request example

POST: /v1.0/iot-03/idaas/spaces/1400335346549391440/organizations/actions/enable?code=Acode&uid=ownerUid

Return example

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

Error code

For more information, see error code.