---
title: "Delete Alias"
method: DELETE
path: "/v1/aliases/{name}"
tags: ["aliases"]
---

# Delete Alias

`DELETE /v1/aliases/{name}`

Delete a stored alias in one scope.

Scoped by ``user_id`` for the same reason the upsert is: deleting the global
alias must not take a user's override with it, and deleting an override must
leave the global one serving everyone else.

## Path parameters

- `name` string, required

## Query parameters

- `user_id` string, nullable — Delete the alias scoped to this user. Omit to delete the global alias of that name.

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/mozilla-ai/apis/otari.md) · [All operations](https://skmtc.net/mozilla-ai/apis/otari/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mozilla-ai/otari/revisions/9efeac9dd037/schema)
