Skip to main content

Delete an Ip

DELETE 
/ips/:id

Delete an IP.

Request

Path Parameters

    id uuidrequired

    Identifies the type of resource.

Responses

200: Successful response with details about an IP.

400: Bad request, the request was unacceptable, often due to missing a required parameter.

401: Unauthorized

403: The user doesn't have the required permissions to perform the requested action.

404: The requested resource doesn't exist.

Request samples


curl -L -X DELETE 'https://api.telnyx.com/v2/ips/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": {
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "ip",
"connection_id": "3456789987654",
"ip_address": "192.168.0.0",
"port": 5060,
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
}