Delete User

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

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 nameTypeINRequiredDescription
device_idStringuritrueDevice ID
user_idStringuritrueUser ID

Return parameter

Parameter nameTypeDescription
resultBooleanExecution result:
  • true: Successful execution
  • false: Execution failed

Request example

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

Return example

true

Error code

For more information, see error code.