---
title: "Api Update Namespace"
method: PUT
path: "/api/v1/namespace/{namespace}/"
tags: ["api"]
---

# Api Update Namespace

`PUT /api/v1/namespace/{namespace}/`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `namespace` string, required

## Request body

- BodyApiUpdateNamespaceApiV1NamespaceNamespacePut
  - `metadata` object
  - `role_mappings` object

## Response `200`

Successful Response

- APIAckResponse
  - `message` string, nullable
  - `status` 'ok' | 'error', required

## Other responses

- `422`: Validation Error

## Changes

- **2024-11-26** `da5794d6a672`: 2 breaking
  - response property `message` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - the `status` response's property type changed from no type to `string` for status `200`
- **2024-03-15** `6642d3ed3fab`: 1 breaking, 1 info
  - the `status` response's property type changed from `string` to no type for status `200`
  - response property `message` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`

[Operation history](https://skmtc.dev/conda-incubator/apis/conda-store/changes/api/v1/namespace/:namespace/put.md)

---

[API](https://skmtc.dev/conda-incubator/apis/conda-store.md) - [All operations](https://skmtc.dev/conda-incubator/apis/conda-store/llms.txt) - [OpenAPI document](https://skmtc.dev/conda-incubator/apis/conda-store/revisions/1045c7d5b017?raw)
