Delete billing plan
DELETE/wireless/billing_plans/:id
If the provided billing plan is not the default billing plan and is not associated with any SIM card groups, it will be deleted.
Request
Path Parameters
id uuidrequired
The unique identifier of the billing plan
Responses
200: Successful response
- application/json
401: Authentication error
- application/json
403: Authorization error
- application/json
Request samples
curl -L -X DELETE 'https://api.telnyx.com/wireless/billing_plans/:id' \
-H 'Accept: application/json'
Response samples
{
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"data_allocation_per_sim": 0,
"default": true,
"inserted_at": "string",
"name": "string",
"regions": [
"string"
],
"type": "string",
"updated_at": "string"
}
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}
{
"errors": [
{
"code": "10001",
"title": "error title",
"detail": "additional detail about the error",
"pointer": "/pointer/to/field"
}
]
}