curl -X DELETE https://api.stophy.dev/v1/browser/extensions/{extension_id} \
-H "Authorization: Bearer $STOPHY_API_KEY"
const response = await fetch("https://api.stophy.dev/v1/browser/extensions/{extension_id}", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.STOPHY_API_KEY}`,
},
});
console.log(await response.json());
import os
import requests
response = requests.delete(
"https://api.stophy.dev/v1/browser/extensions/{extension_id}",
headers={"Authorization": f"Bearer {os.environ['STOPHY_API_KEY']}"},
)
print(response.json())
{
"success": true,
"creditsUsed": 123,
"costUsd": 123,
"requestId": "<string>"
}{
"success": false,
"error": "<string>",
"code": "apiKeyRequired",
"retryable": true,
"retryAfterSeconds": 123,
"requestId": "<string>",
"requiredCredits": 123,
"availableCredits": 123,
"requiredUsd": 123,
"availableUsd": 123,
"billingUrl": "<string>",
"signupUrl": "https://stophy.dev/signup",
"signup": "POST https://api.stophy.dev/v1/signup"
}{
"success": false,
"error": "<string>",
"code": "apiKeyRequired",
"retryable": true,
"retryAfterSeconds": 123,
"requestId": "<string>",
"requiredCredits": 123,
"availableCredits": 123,
"requiredUsd": 123,
"availableUsd": 123,
"billingUrl": "<string>",
"signupUrl": "https://stophy.dev/signup",
"signup": "POST https://api.stophy.dev/v1/signup"
}Browser extensions
Delete an extension
Delete an extension. Send one request and get JSON back. Examples in cURL, TypeScript and Python. A failed call costs nothing.
DELETE
/
v1
/
browser
/
extensions
/
{extension_id}
curl -X DELETE https://api.stophy.dev/v1/browser/extensions/{extension_id} \
-H "Authorization: Bearer $STOPHY_API_KEY"
const response = await fetch("https://api.stophy.dev/v1/browser/extensions/{extension_id}", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.STOPHY_API_KEY}`,
},
});
console.log(await response.json());
import os
import requests
response = requests.delete(
"https://api.stophy.dev/v1/browser/extensions/{extension_id}",
headers={"Authorization": f"Bearer {os.environ['STOPHY_API_KEY']}"},
)
print(response.json())
{
"success": true,
"creditsUsed": 123,
"costUsd": 123,
"requestId": "<string>"
}{
"success": false,
"error": "<string>",
"code": "apiKeyRequired",
"retryable": true,
"retryAfterSeconds": 123,
"requestId": "<string>",
"requiredCredits": 123,
"availableCredits": 123,
"requiredUsd": 123,
"availableUsd": 123,
"billingUrl": "<string>",
"signupUrl": "https://stophy.dev/signup",
"signup": "POST https://api.stophy.dev/v1/signup"
}{
"success": false,
"error": "<string>",
"code": "apiKeyRequired",
"retryable": true,
"retryAfterSeconds": 123,
"requestId": "<string>",
"requiredCredits": 123,
"availableCredits": 123,
"requiredUsd": 123,
"availableUsd": 123,
"billingUrl": "<string>",
"signupUrl": "https://stophy.dev/signup",
"signup": "POST https://api.stophy.dev/v1/signup"
}Price
Free. See Pricing.No example is recorded: it needs an uploaded extension.
curl -X DELETE https://api.stophy.dev/v1/browser/extensions/{extension_id} \
-H "Authorization: Bearer $STOPHY_API_KEY"
const response = await fetch("https://api.stophy.dev/v1/browser/extensions/{extension_id}", {
method: "DELETE",
headers: {
Authorization: `Bearer ${process.env.STOPHY_API_KEY}`,
},
});
console.log(await response.json());
import os
import requests
response = requests.delete(
"https://api.stophy.dev/v1/browser/extensions/{extension_id}",
headers={"Authorization": f"Bearer {os.environ['STOPHY_API_KEY']}"},
)
print(response.json())