Skip to main content
POST
/
sim_cards
/
actions
/
bulk_set_public_ips
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const response = await client.simCards.actions.bulkSetPublicIPs({
  sim_card_ids: ['6b14e151-8493-4fa1-8664-1cc4e6d14158'],
});

console.log(response.data);
{
  "data": {
    "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "record_type": "bulk_sim_card_action",
    "action_type": "bulk_set_public_ips",
    "settings": {},
    "created_at": "2018-02-02T22:25:27.521Z",
    "updated_at": "2018-02-02T22:25:27.521Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
sim_card_ids
string<uuid>[]
required

Identifies the resource.

Example:
["6b14e151-8493-4fa1-8664-1cc4e6d14158"]

Response

Successful Response

data
object

This object represents a bulk SIM card action. It groups SIM card actions created through a bulk endpoint under a single resource for further lookup.