Skip to main content

Delete a Private Wireless Gateway

DELETE 
/private_wireless_gateways/:id

Deletes the Private Wireless Gateway.

Request

Path Parameters

    id uuidrequired

    Identifies the private wireless gateway.

Responses

200: Successful Response

404: Resource not found

default: Unexpected error

Request samples


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

Response samples


{
"data": {
"id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"network_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
"record_type": "private_wireless_gateway",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"name": "My private wireless gateway",
"region_code": "dc2",
"status": {
"value": "provisioned",
"error_description": null,
"error_code": null
},
"ip_range": "100.64.1.0/24",
"assigned_resources": [
{
"record_type": "sim_card_group",
"count": 1
}
]
}
}