Updates the given properties of a Sim resource on your Account.
Updates the given properties of a Sim resource on your Account.
Request
- Base URLhttps://wireless.twilio.com
- URLhttps://wireless.twilio.com/v1/Sims/{Sid}
- AuthHTTP basic
Path parameters
The SID or the unique_name of the Sim resource to update.
Request body application/x-www-form-urlencoded
An application-defined string that uniquely identifies the resource. It can be used in place of the sid in the URL path to address the resource.
The HTTP method we should use to call callback_url. Can be: POST or GET. The default is POST.
The URL we should call using the callback_url when the SIM has finished updating. When the SIM transitions from new to ready or from any status to deactivated, we call this URL when the status changes to an intermediate status (ready or deactivated) and again when the status changes to its final status (active or canceled).
A descriptive string that you create to describe the Sim resource. It does not need to be unique.
The SID or unique name of the RatePlan resource to which the Sim resource should be assigned.
The status of the Sim resource. Can be: new, ready, active, deactivated, canceled, deleted, scheduled, or updating. See Status Values for the description of each status.
The HTTP method we should use to call commands_callback_url. Can be: POST or GET. The default is POST.
The URL we should call using the commands_callback_method when the SIM sends a Command. Your server should respond with an HTTP status code in the 200 range; any response body is ignored.
The HTTP method we should use to call sms_fallback_url. Can be: GET or POST. Default is POST.
The URL we should call using the sms_fallback_method when an error occurs while retrieving or executing the TwiML requested from sms_url.
The HTTP method we should use to call sms_url. Can be: GET or POST. Default is POST.
The URL we should call using the sms_method when the SIM-connected device sends an SMS message that is not a Command.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
The connectivity reset status of the SIM. Can be: null or resetting. When a connectivity reset is initiated on a SIM, this property is resetting. After the reset completes, it is null.
The SID of the Account to which the Sim resource should belong. The Account SID can only be that of the requesting Account or that of a Subaccount of the requesting Account. Only valid when the Sim resource's status is new. For more information, see the Move SIMs between Subaccounts documentation.
Response
OK
The unique string that we created to identify the Sim resource.
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.
The SID of the Account to which the Sim resource belongs.
The SID of the RatePlan resource to which the Sim resource is assigned.
The string that you assigned to describe the Sim resource.
The ICCID associated with the SIM.
Deprecated.
The status of the Sim resource. Can be: new, ready, active, deactivated, canceled, deleted, scheduled, or updating. See Status Values for the description of each status.
The connectivity reset status of the SIM. Can be: null or resetting. When a connectivity reset is initiated on a SIM, this property is resetting. After the reset completes, it is null.
The URL we call using the commands_callback_method when the SIM originates a machine-to-machine Command. Your server should respond with an HTTP status code in the 200 range; any response body will be ignored.
The HTTP method we use to call commands_callback_url. Can be: POST or GET. Default is POST.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Deprecated. The HTTP method we use to call voice_fallback_url. Can be: GET or POST. Default is POST.
Deprecated. The URL we call using the voice_fallback_method when an error occurs while retrieving or executing the TwiML requested from voice_url.
Deprecated. The HTTP method we use to call voice_url. Can be: GET or POST. Default is POST.
Deprecated. The URL we call using the voice_method when the SIM-connected device makes a voice call.
The date and time in GMT when the resource was created specified in ISO 8601 format.
The date and time in GMT when the Sim resource was last updated specified in ISO 8601 format.
The absolute URL of the resource.
The URLs of related subresources.
Deprecated.
Changes
Changes to this operation have not been checked yet.