---
title: "Update Prompt"
method: PUT
path: "/prompts/{prompt_id}"
tags: ["PROMPT_LIBRARY"]
deprecated: true
---

# Update Prompt

`PUT /prompts/{prompt_id}`

## Request

- Base URL: `https://api.myaltimate.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myaltimate.com/prompts/{prompt_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

> **Deprecated.**

Update an existing prompt.
Users can only update prompts they created, service users can update any prompt.

## Path parameters

- `prompt_id` string, uuid, required

## Request body

- UpdatePromptRequest: Request schema for updating an existing prompt
  - `title` string, nullable
  - `description` string, nullable
  - `prompt_text` string, nullable
  - `tags` string[], nullable
  - `teams` integer[], nullable
  - `attributes` object, nullable

## Response `200`

Successful Response

- PromptResponse: Response schema for a single prompt
  - `id` string, uuid, required
  - `title` string, required
  - `description` string, nullable
  - `prompt_text` string, required
  - `tags` string[]
  - `teams` integer[], nullable
  - `created_by` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `last_used_at` string, date-time, nullable
  - `attributes` object
  - `is_public` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myaltimate/apis/myaltimate-api.md) - [All operations](https://skmtc.dev/myaltimate/apis/myaltimate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myaltimate/apis/myaltimate-api/revisions/727657ce54e9?raw)
