Skip to main content

Deletes a SIM card

DELETE 

/sim_cards/:id

The SIM card will be decommissioned, removed from your account and you will stop being charged.
The SIM card won't be able to connect to the network after the deletion is completed, thus making it impossible to consume data.
Transitioning to the disabled state may take a period of time. Until the transition is completed, the SIM card status will be disabling disabling.
In order to re-enable the SIM card, you will need to re-register it.

Request

Path Parameters

    id uuidrequired

    Identifies the resource.

Responses

200: Successful response

Schema

    data

    object

    id uuid

    Identifies the resource.

    record_type string

    status

    object

    value string

    Possible values: [registering, enabling, enabled, disabling, disabled, data_limit_exceeded, setting_standby, standby]

    The current status of the SIM card. It will be one of the following:

    • registering - the card is being registered
    • enabling - the card is being enabled
    • enabled - the card is enabled and ready for use
    • disabling - the card is being disabled
    • disabled - the card has been disabled and cannot be used
    • data_limit_exceeded - the card has exceeded its data consumption limit
    • setting_standby - the process to set the card in stand by is in progress
    • standby - the card is in stand by
    Transitioning between the enabled and disabled states may take a period of time.
    reason string

    It describes why the SIM card is in the current status.

    type string

    Possible values: [physical, esim]

    The type of SIM card

    iccid string

    The ICCID is the identifier of the specific SIM card/chip. Each SIM is internationally identified by its integrated circuit card identifier (ICCID). ICCIDs are stored in the SIM card's memory and are also engraved or printed on the SIM card body during a process called personalization.

    imsi string

    SIM cards are identified on their individual network operators by a unique International Mobile Subscriber Identity (IMSI).
    Mobile network operators connect mobile phone calls and communicate with their market SIM cards using their IMSIs. The IMSI is stored in the Subscriber Identity Module (SIM) inside the device and is sent by the device to the appropriate network. It is used to acquire the details of the device in the Home Location Register (HLR) or the Visitor Location Register (VLR).

    msisdn string

    Mobile Station International Subscriber Directory Number (MSISDN) is a number used to identify a mobile phone number internationally.
    MSISDN is defined by the E.164 numbering plan. It includes a country code and a National Destination Code which identifies the subscriber's operator.

    sim_card_group_id uuid

    The group SIMCardGroup identification. This attribute can be null when it's present in an associated resource.

    tags string[]

    Searchable tags associated with the SIM card

    authorized_imeis int64[]

    List of IMEIs authorized to use a given SIM card.

    current_imei int64

    IMEI of the device where a given SIM card is currently being used.

    data_limit

    object

    The SIM card individual data limit configuration.

    amount decimal
    unit string

    Possible values: [MB, GB]

    current_billing_period_consumed_data

    object

    The SIM card consumption so far in the current billing cycle.

    amount decimal
    unit string

    Default value: MB

    actions_in_progress boolean

    Default value: false

    Indicate whether the SIM card has any pending (in-progress) actions.

    created_at string

    ISO 8601 formatted date-time indicating when the resource was created.

    updated_at string

    ISO 8601 formatted date-time indicating when the resource was updated.

    ipv4 string

    The SIM's address in the currently connected network. This IPv4 address is usually obtained dynamically, so it may vary according to the location or new connections.

    ipv6 string

    The SIM's address in the currently connected network. This IPv6 address is usually obtained dynamically, so it may vary according to the location or new connections.

    current_device_location

    object

    Current physical location data of a given SIM card. Accuracy is given in meters.

    latitude float
    longitude float
    accuracy integer
    accuracy_unit string

    Default value: m

    current_mnc string

    Mobile Network Code of the current network to which the SIM card is connected. It's a two to three decimal digits that identify a network.

    This code is commonly seen joined with a Mobile Country Code (MCC) in a tuple that allows identifying a carrier known as PLMN (Public Land Mobile Network) code.

    current_mcc string

    Mobile Country Code of the current network to which the SIM card is connected. It's a three decimal digit that identifies a country.

    This code is commonly seen joined with a Mobile Network Code (MNC) in a tuple that allows identifying a carrier known as PLMN (Public Land Mobile Network) code.

    live_data_session string

    Possible values: [connected, disconnected, unknown]

    Indicates whether the device is actively connected to a network and able to run data.

default: Unexpected error

Schema

    errors

    Error[]

  • Array [

  • code intrequired
    title stringrequired
    detail string

    source

    object

    pointer json-pointer

    JSON pointer (RFC6901) to the offending entity.

    parameter string

    Indicates which query parameter caused the error.

    meta object
  • ]

Loading...