Updates the given properties of a Super SIM instance from your account
Individual IoT Super SIMs
Updates the given properties of a Super SIM instance from your account.
Path parameters
-
The SID of the Sim resource to update.
Body
-
AccountSid string
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.
-
CallbackMethod string(http-method)
The HTTP method we should use to call
callback_url
. Can be:GET
orPOST
and the default is POST.Values are
HEAD
,GET
,POST
,PATCH
,PUT
, orDELETE
. -
CallbackUrl string(uri)
The URL we should call using the
callback_method
after an asynchronous update has finished. -
Fleet string
The SID or unique name of the Fleet to which the SIM resource should be assigned.
-
Status string
The new status of the resource. Can be:
ready
,active
, orinactive
. See the Super SIM Status Values for more info.Values are
ready
,active
, orinactive
. -
UniqueName string
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.
curl \
-X POST https://supersim.twilio.com/v1/Sims/{Sid} \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'AccountSid=string&CallbackMethod=HEAD&CallbackUrl=https%3A%2F%2Fexample.com&Fleet=string&Status=ready&UniqueName=string'
{
"AccountSid": "string",
"CallbackMethod": "HEAD",
"CallbackUrl": "https://example.com",
"Fleet": "string",
"Status": "ready",
"UniqueName": "string"
}
{
"AccountSid": "string",
"CallbackMethod": "HEAD",
"CallbackUrl": "https://example.com",
"Fleet": "string",
"Status": "ready",
"UniqueName": "string"
}
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"fleet_sid": "string",
"iccid": "string",
"links": {},
"sid": "string",
"status": "new",
"unique_name": "string",
"url": "https://example.com"
}
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"fleet_sid": "string",
"iccid": "string",
"links": {},
"sid": "string",
"status": "new",
"unique_name": "string",
"url": "https://example.com"
}
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"fleet_sid": "string",
"iccid": "string",
"links": {},
"sid": "string",
"status": "new",
"unique_name": "string",
"url": "https://example.com"
}
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"fleet_sid": "string",
"iccid": "string",
"links": {},
"sid": "string",
"status": "new",
"unique_name": "string",
"url": "https://example.com"
}