Remove Members from Organization

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

Remove members from a specified organization, and unbind their binding relationship.

API address

POST: /v1.0/iot-03/idaas/spaces/{space_id}/organization-users/actions/batch-delete

Request parameter

Parameter nameTypeINRequiredDescription
space_idStringuritrueThe ID of a specified space.

Description of body

Parameter nameTypeINRequiredDescription
organization_codeString trueThe identifier of a specified organization.
uid_listList trueThe list of user IDs.

Description of uid_list

Parameter nameTypeINRequiredDescription
uidString trueThe user's identifier.

Return parameter

Parameter nameTypeDescription
resultBooleanThe result of deletion.

Request example

POST: /v1.0/iot-03/idaas/spaces/1400335346549391440/organization-users/actions/batch-delete
{
  "organization_code": "1400335346598629930",
  "uid_list": [
    "052533b7bf1d41c78505e421daa3f29a"
  ]
}

Return example

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

Error code

For more information, see error code.