Skip to main content

Bulk update SIM cards

POST 
/wireless/sim_cards/actions/bulk_update

Bulk updates to perform on a list of SIM cards

Request

Body

required

SIM card bulk update request

    ids uuid[]

    A list of IDs for which the changes will apply to.

    enabled boolean

    Whether the SIM card should be enabled or disabled.

    sim_card_group_id uuid

    The SIM card group to which all the provided SIM card IDs will be moved to.

    tags string[]

    A list of tags to apply to the provided SIM cards.

    status string

    Possible values: [enabled, disabled, standby]

    The SIM card status to which all the provided SIM card IDs will be moved to.

    authorized_imeis string[]

    A list of authorized IMEIs that will be applied to all the provided SIM cards.

Responses

200: Successful response

401: Authentication error

403: Authorization error

Request samples


curl -L 'https://api.telnyx.com/wireless/sim_cards/actions/bulk_update' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"ids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"enabled": true,
"sim_card_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tags": [
"string"
],
"status": "enabled",
"authorized_imeis": [
"string"
]
}'

Response samples


{
"failed_updates": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"successful_updates": {
"enabled": true,
"iccid": "string",
"id": "string",
"sim_card_group": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
},
"tags": [
"string"
],
"updated_at": "string"
}
}