SIM Cards
Request setting a SIM card public IP
This API makes a SIM card reachable on the public internet by mapping a random public IP to the SIM card. <br/><br/> The API will trigger an asynchronous operation called a SIM Card Action. The status of the SIM Card Action can be followed through the List SIM Card Action API. <br/><br/> Setting a Public IP to a SIM Card incurs a charge and will only succeed if the account has sufficient funds.
post/sim_cards/{id}/actions/set_public_ip
Path parameters
idstring uuid required
Example:6a09cdc3-8948-47f0-aa62-74ac943d6c58
Identifies the SIM.
Query parameters
region_codestring
Example:dc2
The code of the region where the public IP should be assigned. A list of available regions can be found at the regions endpoint
Response
Successful Response
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"
}
}