Updates the given properties of a Super SIM instance from your account

POST /v1/Sims/{Sid}

Individual IoT Super SIMs

Updates the given properties of a Super SIM instance from your account.

Path parameters

  • Sid string Required

    The SID of the Sim resource to update.

Body

  • 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 or POST and the default is POST.

    Values are HEAD, GET, POST, PATCH, PUT, or DELETE.

  • 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, or inactive. See the Super SIM Status Values for more info.

    Values are ready, active, or inactive.

  • 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 the Super SIM belongs to

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

    • date_created string(date-time) | null

      The ISO 8601 date and time in GMT when the resource was created

    • date_updated string(date-time) | null

      The ISO 8601 date and time in GMT when the resource was last updated

    • fleet_sid string | null

      The unique ID of the Fleet configured for this SIM

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

    • iccid string | null

      The ICCID associated with the SIM

    • sid string | null

      The unique string that identifies the resource

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

    • status string | null

      The status of the Super SIM

      Values are new, ready, active, inactive, or scheduled.

    • unique_name string | null

      An application-defined string that uniquely identifies the resource

    • url string(uri) | null

      The absolute URL of the Sim Resource

  • Accepted

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

      The SID of the Account that the Super SIM belongs to

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

    • date_created string(date-time) | null

      The ISO 8601 date and time in GMT when the resource was created

    • date_updated string(date-time) | null

      The ISO 8601 date and time in GMT when the resource was last updated

    • fleet_sid string | null

      The unique ID of the Fleet configured for this SIM

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

    • iccid string | null

      The ICCID associated with the SIM

    • sid string | null

      The unique string that identifies the resource

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

    • status string | null

      The status of the Super SIM

      Values are new, ready, active, inactive, or scheduled.

    • unique_name string | null

      An application-defined string that uniquely identifies the resource

    • url string(uri) | null

      The absolute URL of the Sim Resource

POST /v1/Sims/{Sid}
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'
Request example
{
  "AccountSid": "string",
  "CallbackMethod": "HEAD",
  "CallbackUrl": "https://example.com",
  "Fleet": "string",
  "Status": "ready",
  "UniqueName": "string"
}
Request examples
{
  "AccountSid": "string",
  "CallbackMethod": "HEAD",
  "CallbackUrl": "https://example.com",
  "Fleet": "string",
  "Status": "ready",
  "UniqueName": "string"
}
Response examples (200)
{
  "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"
}
Response examples (200)
{
  "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"
}
Response examples (202)
{
  "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"
}
Response examples (202)
{
  "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"
}