---
title: "Set Alias"
method: PUT
path: "/v1/strategies/{strategy_id}/aliases/{alias_name}"
tags: ["strategies"]
---

# Set Alias

`PUT /v1/strategies/{strategy_id}/aliases/{alias_name}`

## Request

- Base URL: `https://api.usekeel.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usekeel.io/v1/strategies/{strategy_id}/aliases/{alias_name}`
- Auth: none declared

Set or update a mutable alias.

## Path parameters

- `strategy_id` string, required
- `alias_name` string, required

## Headers

- `Authorization` string, nullable
- `X-Org-Id` string, nullable

## Request body

- AliasSetRequest
  - `commit_ref` string, required

## Response `200`

Successful Response

- TagResponse
  - `tag_id` string, required
  - `name` string, required
  - `tag_type` string, required
  - `commit_id` string, required
  - `version_string` string, nullable
  - `message` string, nullable
  - `created_at` string, required
  - `updated_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/usekeel/apis/keel-api.md) · [All operations](https://skmtc.dev/usekeel/apis/keel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usekeel/apis/keel-api/revisions/3191ca10b0ab?raw)
