Token Management
Clear Vault
Delete everything — bearer token and proxy. Use this to start fresh.
DELETE /api/v1/vault/clear
Delete everything — bearer token and proxy. Use this to start fresh.
Authentication
| Header | Value |
|---|---|
X-RapidAPI-Key | Your RapidAPI key |
X-RapidAPI-Host | red-crawler1.p.rapidapi.com |
Example request
cURL
curl -X DELETE "https://red-crawler1.p.rapidapi.com/api/v1/vault/clear" \
-H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
-H "X-RapidAPI-Host: red-crawler1.p.rapidapi.com"JavaScript
const res = await fetch("https://red-crawler1.p.rapidapi.com/api/v1/vault/clear", {
method: "DELETE",
headers: {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
}
});
const data = await res.json();
console.log(data);Python
import requests
url = "https://red-crawler1.p.rapidapi.com/api/v1/vault/clear"
headers = {
"X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
"X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
}
resp = requests.delete(url, headers=headers)
print(resp.json())Example response
HTTP 200 — captured from a live call to the gateway.
{
"success": true,
"data": {
"deleted": true,
"bearer_cleared": true,
"session_cleared": true,
"proxy_cleared": "126.122.43.123:8888",
"message": "Bearer, session, proxy, and device have been removed."
},
"error": null,
"timestamp": "2026-04-29T17:49:07.546648+00:00"
}