API documentation
Change password
This API can be used to modify the domain management password
Content-Type
application-json
category
domain
action
change_password
Request parameters
| Parameter Name | Type | Describe | Example |
|---|---|---|---|
| domain | String (3-60) | Domain name | example.com |
| password | String (3-16) | Domain management password | 123456 |
Request Example
{
curl http://api.www.unionroom.cn/v2/?category=domain&action=change_password&domain={domain}&password={password}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Return result
0 OK
Successful response
{
"code": 0,
"msg" : "success",
"data" : {
}
}
400 Bad Request
{
"code": 400,
"msg" : "Request parameter error",
}






