Proxy-seller

変更の承認

Updated:

このエンドポイントを使用すると、プロキシサーバーにアクセスするための認証データを変更できます。

エンドポイント:

POSThttps://proxy-seller.com/personal/api/v2/{YourApiKey}/auth/change

例

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"
}

パスパラメータ:

名前

価値

説明

承認

<Your_API_Key>

ご自身のAPIキー(入手方法)

リクエスト本文

名前

種類

説明

id

文字列

id: 認証ID(必須)

active

ブール値

認証を有効化または無効化

ログイン

文字列

新しいユーザー名を設定する

パスワード

文字列

新しいパスワードを設定する

ip

文字列

新しいIPを設定する

回答

{
    "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": []
}

承認見つかりません

{
    "status": "error",
    "data": null,
    "errors": [
        {
            "message": "Set exists [id]",
            "code": 0,
            "customData": null
        }
    ]
}

On this page