Update rate plan

POST /v1/RatePlans/{Sid}

Capabilities and restrictions for SIMs

Path parameters

  • Sid string Required

    The SID of the RatePlan resource to update.

Body

  • A descriptive string that you create to describe the resource. It does not have to be unique.

  • An application-defined string that uniquely identifies the resource. It can be used in place of the resource's sid in the URL to address the resource.

Responses

  • OK

    Hide response attributes Show response attributes object
    • account_sid string | null

      The SID of the Account that created the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • data_enabled boolean | null

      Whether SIMs can use GPRS/3G/4G/LTE data connectivity

    • data_limit integer | null

      The total data usage in Megabytes that the Network allows during one month on the home network

    • data_metering string | null

      The model used to meter data usage

    • date_created string(date-time) | null

      The date when the resource was created, given as GMT in ISO 8601 format

    • date_updated string(date-time) | null

      The date when the resource was last updated, given as GMT in ISO 8601 format

    • friendly_name string | null

      The string that you assigned to describe the resource

    • international_roaming array[string] | null

      The services that SIMs capable of using GPRS/3G/4G/LTE data connectivity can use outside of the United States

    • The total data usage (download and upload combined) in Megabytes that the Network allows during one month when roaming outside the United States

    • messaging_enabled boolean | null

      Whether SIMs can make, send, and receive SMS using Commands

    • The total data usage in Megabytes that the Network allows during one month on non-home networks in the United States

    • Whether SIMs can roam on networks other than the home network in the United States

    • sid string | null

      The unique string that identifies the resource

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^WP[0-9a-fA-F]{32}$.

    • unique_name string | null

      An application-defined string that uniquely identifies the resource

    • url string(uri) | null

      The absolute URL of the resource

    • voice_enabled boolean | null

      Deprecated. Whether SIMs can make and receive voice calls

POST /v1/RatePlans/{Sid}
curl \
 -X POST https://wireless.twilio.com/v1/RatePlans/{Sid} \
 --user "username:password" \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -d 'FriendlyName=string&UniqueName=string'
Request example
{
  "FriendlyName": "string",
  "UniqueName": "string"
}
Request examples
{
  "FriendlyName": "string",
  "UniqueName": "string"
}
Response examples (200)
{
  "account_sid": "string",
  "data_enabled": true,
  "data_limit": 42,
  "data_metering": "string",
  "date_created": "2023-05-04T09:42:00+00:00",
  "date_updated": "2023-05-04T09:42:00+00:00",
  "friendly_name": "string",
  "international_roaming": [
    "string"
  ],
  "international_roaming_data_limit": 42,
  "messaging_enabled": true,
  "national_roaming_data_limit": 42,
  "national_roaming_enabled": true,
  "sid": "string",
  "unique_name": "string",
  "url": "https://example.com",
  "voice_enabled": true
}
Response examples (200)
{
  "account_sid": "string",
  "data_enabled": true,
  "data_limit": 42,
  "data_metering": "string",
  "date_created": "2024-05-04T09:42:00+00:00",
  "date_updated": "2024-05-04T09:42:00+00:00",
  "friendly_name": "string",
  "international_roaming": [
    "string"
  ],
  "international_roaming_data_limit": 42,
  "messaging_enabled": true,
  "national_roaming_data_limit": 42,
  "national_roaming_enabled": true,
  "sid": "string",
  "unique_name": "string",
  "url": "https://example.com",
  "voice_enabled": true
}