Delete User

Last Updated on : 2023-12-07 03:33:47download

This topic describes the APIs of Delete User.

API description

You can delete the specified user from the user list of the device through this API. After the deletion, the user no longer has operation rights on the device.

API address

DELETE: /v1.0/devices/{device_id}/users/{user_id}

Request parameter

Parameter name Type IN Required Description
device_id String uri true Device ID
user_id String uri true User ID

Return parameter

Parameter name Type Description
result Boolean Execution result:
  • true: Successful execution
  • false: Execution failed

Request example

DELETE: /v1.0/devices/65057368c44f3380****/users/ay15980008098614****

Return example

true

Error code

See Error code.