Delete API key

Delete API key

This endpoint lets you delete an API key.

import requests
 
response = requests.delete(
    "https://proxy.webshare.io/api/v2/apikey/<ID>/", 
    headers={"Authorization": "Token APIKEY"}
)
response.json()
curl "https://proxy.webshare.io/api/v2/apikey/<ID>/" \
  -X DELETE \
  -H "Authorization: Token APIKEY"

The above command returns empty response with 204 HTTP status code

HTTP request

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

URL parameters

ParameterDescription
IDThe ID of the API key to delete.