---
title: "PATCH /containers/{handle}/name"
method: PATCH
path: "/containers/{handle}/name"
tags: ["containers"]
---

# PATCH /containers/{handle}/name

`PATCH /containers/{handle}/name`

Rename a container to the new name

## Path parameters

- `handle` string, required

## Query parameters

- `name` string, required

## Response `200`

OK

- string

## Other responses

- `404` — no such container
- `409` — conflict, name already assigned
- `500` — server error

## Changes

- **2018-06-14** `d95851b27556` — 1 info
  - added the new optional `header` request parameter `Op-ID` to all path's operations
- **2017-03-26** `93c91d3237b3` — 1 info
  - endpoint added
- **2016-09-22** `cd3b04ac340a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/vmware/apis/port-layer-api/changes/containers/:handle/name/patch.md)

---

[API](https://skmtc.dev/vmware/apis/port-layer-api.md) · [All operations](https://skmtc.dev/vmware/apis/port-layer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vmware/port-layer-api/revisions/5fff0b8814c7/schema)
