Remove User

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

Remove a user from a specified organizational structure.

API address

DELETE: /v1.0/iot-03/idaas/spaces/{space_id}/organizations/{organization_code}/users/{uid}

Request parameter

Parameter nameTypeINRequiredDescription
organization_codeStringuritrueThe identifier of a specified organization.
uidStringuritrueThe identifier of a specified user.
space_idStringuritrueThe ID of a specified space.

Return parameter

Parameter nameTypeDescription
resultBooleanThe result of removal.

Request example

DELETE: /v1.0/iot-03/idaas/spaces/1400335346549391440/organizations/Acode/users/052533b7bf1d41c78505e421daa3f29a

Return example

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

Error code

For more information, see error code.