Delete a rotating proxy subuser
curl --request DELETE \
--url https://api.floppydata.net/v2/proxy/rotating/subusers/{subuserId} \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.floppydata.net/v2/proxy/rotating/subusers/{subuserId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.floppydata.net/v2/proxy/rotating/subusers/{subuserId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": {
"code": "invalid_request",
"message": "Invalid request parameters.",
"details": {
"issues": [
{
"path": "country",
"code": "invalid_format",
"message": "Expected a 2-letter country code."
}
]
}
}
}{
"error": {
"code": "unauthorized",
"message": "Unauthorized",
"details": {}
}
}{
"error": {
"code": "insufficient_balance",
"message": "Insufficient proxy traffic balance.",
"details": {}
}
}{
"error": {
"code": "forbidden",
"message": "Forbidden",
"details": {}
}
}{
"error": {
"code": "not_found",
"message": "Rotating proxy credential was not found.",
"details": {}
}
}{
"error": {
"code": "account_not_configured",
"message": "Account is not configured for proxy products.",
"details": {}
}
}{
"error": {
"code": "internal_error",
"message": "Internal Server Error",
"details": {}
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch data from an upstream service.",
"details": {
"upstreamStatus": 503
}
}
}Rotating
Delete a Subuser
Deletes one proxy subuser owned by the authenticated account. Proxy strings that use the deleted username stop working. The final remaining subuser cannot be deleted.
DELETE
https://api.floppydata.net
/
v2
/
proxy
/
rotating
/
subusers
/
{subuserId}
Delete a rotating proxy subuser
curl --request DELETE \
--url https://api.floppydata.net/v2/proxy/rotating/subusers/{subuserId} \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.floppydata.net/v2/proxy/rotating/subusers/{subuserId}"
headers = {"X-Api-Key": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.floppydata.net/v2/proxy/rotating/subusers/{subuserId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": {
"code": "invalid_request",
"message": "Invalid request parameters.",
"details": {
"issues": [
{
"path": "country",
"code": "invalid_format",
"message": "Expected a 2-letter country code."
}
]
}
}
}{
"error": {
"code": "unauthorized",
"message": "Unauthorized",
"details": {}
}
}{
"error": {
"code": "insufficient_balance",
"message": "Insufficient proxy traffic balance.",
"details": {}
}
}{
"error": {
"code": "forbidden",
"message": "Forbidden",
"details": {}
}
}{
"error": {
"code": "not_found",
"message": "Rotating proxy credential was not found.",
"details": {}
}
}{
"error": {
"code": "account_not_configured",
"message": "Account is not configured for proxy products.",
"details": {}
}
}{
"error": {
"code": "internal_error",
"message": "Internal Server Error",
"details": {}
}
}{
"error": {
"code": "upstream_error",
"message": "Failed to fetch data from an upstream service.",
"details": {
"upstreamStatus": 503
}
}
}Deleting a subuser immediately invalidates proxy strings using its credentials. Create replacement credentials, switch and verify your clients, and only then delete the old subuser. The final remaining subuser cannot be deleted.
Was this page helpful?
⌘I