---
title: "Changes to Assign an Alias"
method: POST
path: "/v2/deployments/{id}/aliases"
---

# Changes to Assign an Alias

`POST /v2/deployments/{id}/aliases`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 137 revisions.

- **2026-07-21** `2ae10ee9d21c`: 1 info
- **2026-01-22** `c12186034433`: 1 breaking
- **2025-03-19** `37b482c58c92`: 2 info

## Changes

- **2026-07-21** `2ae10ee9d21c`: 1 info
  - added the non-success response with the status `410`
- **2026-01-22** `c12186034433`: 1 breaking
  - request body became required
- **2025-03-19** `37b482c58c92`: 2 info
  - added the new optional `query` request parameter `slug`
  - added the non-success response with the status `401`

---

[Operation](https://skmtc.dev/vercel/apis/api/docs/v2/deployments/:id/aliases/post.md) - [API](https://skmtc.dev/vercel/apis/api.md) - [Page](https://skmtc.dev/vercel/apis/api/changes/v2/deployments/:id/aliases/post)
