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
- application/json
404: Resource not found
- application/json
default: Unexpected error
- application/json
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
}
]
}
}
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}