サブユーザのパッケージを削除する
削除されると、サブパッケージから未使用の残りのトラフィックが返される。
終点:
DELETEhttps://proxy-seller.com/personal/api/v1/{YourApiKey}/residentsubuser/delete
パスのパラメータ:
名称 | 価値 | 説明 |
|---|---|---|
認可 |
| 個人APIキー |
リクエスト本文:
名称 | タイプ | 説明 |
|---|---|---|
パッケージ・キー | ストリング | サブユーザーパッケージ情報の取得」リクエストのサブパッケージキー |
例
https://proxy-seller.com/personal/api/v1/fj4948ffhg58gh843gh/residentsubuser/delete反応だ:
{
"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
}
]
}