DELETE/v1/signed-bases/{id}
Delete a signed-URL base; its URLs stop rendering
PARAMETERS
- idpath · stringREQUIRED
- The base ide.g. sb_8mz2kq7xvtnw4hbc3dpe
REQUEST
curl -X DELETE "https://api.imageapis.com/v1/signed-bases/sb_8mz2kq7xvtnw4hbc3dpe" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.delete("https://api.imageapis.com/v1/signed-bases/sb_8mz2kq7xvtnw4hbc3dpe", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.text)
const r = await fetch("https://api.imageapis.com/v1/signed-bases/sb_8mz2kq7xvtnw4hbc3dpe", {
method: "DELETE",
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.text());
RESPONSE
200OK
{
"id": "sb_8mz2kq7xvtnw4hbc3dpe",
"object": "signed_base",
"deleted": true
}
401Missing or invalid API key (from the gateway)
404No such template or record on this account
{
"error": "string",
"message": "string",
"param": "string"
}