Skip to main content

Update billing plan

PATCH 
/wireless/billing_plans/:id

Updates a specific billing plan.

Request

Path Parameters

    id uuidrequired

    The unique identifier of the billing plan

Body

required

Billing plan update request

    data_allocation_per_sim integer

    How much data can each SIM card consume

    default boolean

    Is the billing plan the default billing plan

    name string

    The name of the billing plan

    regions string[]

    The regions for which this billing plan applies

    type string

    The type of billing plan

Responses

200: Successful response

401: Authentication error

403: Authorization error

Request samples


curl -L -X PATCH 'https://api.telnyx.com/wireless/billing_plans/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"data_allocation_per_sim": 0,
"default": true,
"name": "string",
"regions": [
"string"
],
"type": "string"
}'

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"
}
}