Cancel Dedicated IP Request

POST /v1/dedicated-ips/requests/{request_id}/cancel

Cancel a pending dedicated-IP request before it's fulfilled. Only requests in status: "pending" can be cancelled — already-fulfilled IPs need to be released via POST /v1/{id}/release instead, and denied requests can't be cancelled (use a fresh request).

Path parameters

request_id int64 Req
Request ID from /dedicated-ips/requests.

Request body

None — empty body or {}.

Response (204 No Content)

Empty body on success.

Errors

401 Unauthorized
Missing auth.
404 Not Found
Request doesn't exist or doesn't belong to the calling user.
409 Conflict
Request isn't in pending state. Body explains the actual state.
Request
curl -X POST "https://api.ngris.com/v1/dedicated-ips/requests/17/cancel" \ -H "X-API-KEY: <your_api_key>"
Python
from ngris import Ngris client = Ngris(api_key="<your_api_key>") client.dedicated_ips.cancel_request("17")
Response — 204 No Content
Iris