SIM Cards

Request a SIM card enable

This API enables a SIM card, connecting it to the network and making it possible to consume data.<br/> To enable a SIM card, it must be associated with a SIM card group.<br/> The API will trigger an asynchronous operation called a SIM Card Action. Transitioning to the enabled state may take a period of time. The status of the SIM Card Action can be followed through the List SIM Card Action API.

post/sim_cards/{id}/actions/enable

Path parameters

idstring uuid required
Example:6a09cdc3-8948-47f0-aa62-74ac943d6c58

Identifies the SIM.

Response

Action accepted. The response contains a SIM card action; poll GET /sim_card_actions/{id} with the action id to track progress.

Example response

{
  "data": {
    "action_type": "enable",
    "created_at": "2018-02-02T22:25:27.521Z",
    "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "record_type": "sim_card_action",
    "settings": {},
    "sim_card_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "status": {
      "reason": "The data limit was exceeded.",
      "value": "completed"
    },
    "updated_at": "2018-02-02T22:25:27.521Z"
  }
}

Changes

Changed in 2 of the 61 revisions of this API.42

  • 1571b0380bd722See the full diff
    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 422

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status default

      response-property-type-changed

    • added the new disable_voice enum value to the data/action_type response property for the response status 202

      response-property-enum-value-added

    • added the new enable_voice enum value to the data/action_type response property for the response status 202

      response-property-enum-value-added

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 422

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status default

      response-property-type-changed

    This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog