---
title: "Update aliases of the collections"
method: POST
path: "/collections/aliases"
tags: ["Aliases"]
---

# Update aliases of the collections

`POST /collections/aliases`

## Query parameters

- `timeout` integer

## Request body

- ChangeAliasesOperation — Operation for performing changes of collection aliases. Alias changes are atomic, meaning that no collection modifications can happen between alias operations.
  - `actions` AliasOperations[], required
    - union — Group of all the possible operations related to collection aliases
      - CreateAliasOperation
        - `create_alias` CreateAlias, required — Create alternative name for a collection. Collection will be available under both names for search, retrieve,
          - `collection_name` string, required
          - `alias_name` string, required
      - DeleteAliasOperation — Delete alias if exists
        - `delete_alias` DeleteAlias, required — Delete alias if exists
          - `alias_name` string, required
      - RenameAliasOperation — Change alias to a new one
        - `rename_alias` RenameAlias, required — Change alias to a new one
          - `old_alias_name` string, required
          - `new_alias_name` string, required

## Response `200`

successful operation

- object
  - `usage` union
    - Usage — Usage of the hardware resources, spent to process the request
      - `hardware` union
        - HardwareUsage — Usage of the hardware resources, spent to process the request
          - `cpu` integer, required
          - `payload_io_read` integer, required
          - `payload_io_write` integer, required
          - `payload_index_io_read` integer, required
          - `payload_index_io_write` integer, required
          - `vector_io_read` integer, required
          - `vector_io_write` integer, required
        - unknown
      - `inference` union
        - InferenceUsage
          - `models` object, required
        - unknown
    - unknown
  - `time` number, float — Time spent to process this request
  - `status` string
  - `result` boolean

## Other responses

- `default` — error
- `4XX` — error

---

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