Remove a proxy
The project's default proxy is `conflict` until another is the default or its flag is cleared, and so is a proxy a sandbox names as its way out, until that sandbox's way out changes.
DELETE/v1/proxies/{proxy_id}
The project's default proxy is conflict until another is the default or its flag is cleared, and so is a proxy a sandbox names as its way out, until that sandbox's way out changes. Nothing ever falls back to Pod's own addresses by accident. Allowed whatever the account's standing or settings.
A key with the network:write scope.
Request
curl -X DELETE "https://api.pod.mapier.ai/v1/proxies/prx_3ahrz6dmv29gqy5ckt18fpx4b" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
proxy_id | path | string | Yes | |
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Answer
204. Removed.
Errors
The refusals this call is known for: forbidden, not_found, conflict. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.
In the SDKs
| Client | Call |
|---|---|
| TypeScript | pod.network.proxies.delete(id) |
| Python | pod.network.proxies.delete(id) |