Delete sub-user

Delete a user

This endpoint deletes a user. You can add a query-string parameter plan_id in case you want to target a specific plan otherwise it will use the default plan.

URL Parameters

ParameterTypeDescription
IDint

The ID of the user to delete

Request & Response

DELETE https://proxy.webshare.io/api/v2/subuser/<ID>/

or in case of targeting a specific plan

DELETE https://proxy.webshare.io/api/v2/subuser/<ID>/?plan_id=<Plan ID>
example.py
import requests
 
response = requests.delet(
  "https://proxy.webshare.io/api/v2/subuser/<ID>/",
  headers={"Authorization": "Token "}
)
 
response.json()

The commands above returns empty response with 204 No Content

HTTP/1.1 204 No Content