---
title: "Move an Elastic IP"
method: PATCH
path: "/elastic_ips/{elastic_ip_id}"
tags: ["Elastic Ips"]
---

# Move an Elastic IP

`PATCH /elastic_ips/{elastic_ip_id}`

Moves an Elastic IP to a different server within the same project and site. The reassignment is performed asynchronously. The Elastic IP must be in `active` status, the target server must belong to the same project, and the target server must be in the same site as the currently assigned server.

## Path parameters

- `elastic_ip_id` string, required

## Request body

- UpdateElasticIp
  - `data` object, required
    - `type` 'elastic_ips', required
    - `attributes` object, required
      - `server_id` string, required — The server ID to move the Elastic IP to

## Response `202`

Accepted

## Other responses

- `404` — Not Found
- `422` — Unprocessable Entity

---

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