Home / Docs Center / Device API Reference / ModifyUsername & Password

ModifyUsername & Password

Device API Reference · New API

Project: Device API Documentation (New Version) | page_id: 270

Brief Description:

  • Modify the username and password

Request URL:
- /xsw/control

Request Method:
- POST

Parameters:

Parameter Required Type Description
command Yes string Fixed value set_user_info (change password)
user No string Username
pass No string Password

Response Example

  {"code":0,"msg":""}

Response Parameter Description

Parameter Type Description
code int 0 success, others failure
msg string Error message

Notes

  • None
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.