---
title: "Request removing a SIM card public IP"
method: POST
path: "/sim_cards/{id}/actions/remove_public_ip"
tags: ["SIM Cards"]
---

# Request removing a SIM card public IP

`POST /sim_cards/{id}/actions/remove_public_ip`

This API removes an existing public IP from a 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](https://developers.telnyx.com/api-reference/sim-card-actions/list-sim-card-actions) API.

## Path parameters

- `id` string, uuid, required

## Response `202`

Successful Response

- object
  - `data` SIMCardAction — This object represents a SIM card action. It allows tracking the current status of an operation that impacts the SIM card.
    - `id` string, uuid — Identifies the resource.
    - `record_type` string
    - `sim_card_id` string, uuid — The related SIM card identifier.
    - `action_type` 'enable' | 'enable_standby_sim_card' | 'disable' | 'set_standby' — The operation type. It can be one of the following: <br/> <ul> <li><code>enable</code> - move the SIM card to the <code>enabled</code> status</li> <li><code>enable_standby_sim_card</code> - move a SIM card previously on the <code>standby</code> status to the <code>enabled</code> status after it consumes data.</li> <li><code>disable</code> - move the SIM card to the <code>disabled</code> status</li> <li><code>set_standby</code> - move the SIM card to the <code>standby</code> status</li> </ul>
    - `status` object
      - `value` 'in-progress' | 'completed' | 'failed' | 'interrupted' — The current status of the SIM card action.
      - `reason` string — It describes why the SIM card action is in the current status. This will be <code>null</code> for self-explanatory statuses, such as <code>in-progress</code> and <code>completed</code> but will include further information on statuses like <code>interrupted</code> and <code>failed</code>.
    - `settings` object, nullable — A JSON object representation of the action params.
    - `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.

## Other responses

- `401` — Unauthorized
- `default` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api/versions/e32d46c5945b/schema)
