Change authorization
Updated:
This endpoint allows you to modify authentication data for accessing the proxy server.
Endpoint:
POSThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/auth/change
Example
https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/auth/change
{
"id":"6abe728f351e1e9a962199b8",
"active":false,
"login":"qwerty",
"password":"123123"
}https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/auth/change
{
"id":"6abe74c7351e1e9a96219ad0",
"active":false,
"ip":"31.76.117.26"
}Path parameters:
Name | Value | Description |
|---|---|---|
Authorization |
| Your personal API key (how to get) |
Request body
Name | Type | Description |
|---|---|---|
id | String | id: Authorization ID (required) |
active | Boolean | Activate or deactivate authorization |
login | String | Set a new username |
password | String | Set a new password |
ip | String | Set new ip |
Response
{
"status": "success",
"data": {
"id": "6abe728f351e1e9a962199b8",
"active": false,
"login": "qwerty",
"password": "123123",
"orderNumber": "NS_1789631886643-7D_e_ra7hhT4ZnG"
},
"errors": []
}{
"status": "success",
"data": {
"id": "6abe74c7351e1e9a96219ad0",
"active": false,
"ip": "31.76.117.26",
"orderNumber": "NS_1789631886643-7D_e_ra7hhT4ZnG"
},
"errors": []
}Authorization not found
{
"status": "error",
"data": null,
"errors": [
{
"message": "Set exists [id]",
"code": 0,
"customData": null
}
]
}