サブユーザーのパッケージを削除する
Updated:
削除時には、サブパッケージから未使用のまま残っているトラフィックはすべて返還されます。
エンドポイント:
DELETEhttps://proxy-seller.com/personal/api/v2/{YourApiKey}/residentsubuser/delete
パスパラメータ:
名前 | 価値 | 説明 |
|---|---|---|
承認 |
| ご自身のAPIキー |
リクエスト本文:
名前 | 種類 | 説明 |
|---|---|---|
package_key | 文字列 | 「サブユーザーパッケージ情報の取得」リクエストからのサブパッケージキー |
例:
https://proxy-seller.com/personal/api/v2/fj4948ffhg58gh843gh/residentsubuser/delete
{
"package_key": "0e5382067af638932677"
}回答:
{
"status": "success",
"data": "{\"status\":\"delete\"}",
"errors": []
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Error api key",
"code": 503,
"customData": null
},
{
"message": "IP not allowed",
"code": 503,
"customData": null
},
{
"message": "Request limit reached",
"code": 503,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "IP not allowed",
"code": 503,
"customData": null
}
]
}{
"status": "error",
"data": null,
"errors": [
{
"message": "Sub tarif not found",
"code": 0,
"customData": null
}
]
}