---
title: "Renames a deployed model's alias."
method: POST
path: "/projects/{project_id}/foundry/deployed-models/rename"
tags: ["Foundry"]
---

# Renames a deployed model's alias.

`POST /projects/{project_id}/foundry/deployed-models/rename`

## Path parameters

- `project_id` string, required

## Request body

- RenameModelRequest
  - `model_alias` string, required — Current alias of the model.
  - `new_alias` string, required — New alias for the model.

## Response `200`

- RenameModelResponse
  - `endpoint_id` string — The endpoint ID that was renamed.
  - `model_alias` string — The resulting model alias.

## Other responses

- `400` — Error Bad Request
- `401` — Error Authentication Failed
- `403` — Error Permissions
- `404` — Error Not Found
- `500` — Error Internal Server

---

[API](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway.md) · [All operations](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crusoecloud/crusoe-cloud-api-gateway/versions/a3fd2dedc72b/schema)
