---
title: "Update Project Personalized Prompt Endpoint"
method: PUT
path: "/updateProjectPersonalizedPrompt"
---

# Update Project Personalized Prompt Endpoint

`PUT /updateProjectPersonalizedPrompt`

## Request

- Base URL: `https://api.pavoot.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pavoot.com/updateProjectPersonalizedPrompt`
- Auth: none declared

Updates the personalized prompt for a specific project.

Request Body:
    projectId (int): The ID of the project (required)
    personalizedPrompt (str): The personalized prompt to set (optional, can be null to clear it)

Returns:
    JSON response with:
        - message: Success message
        - project: Updated project details including the new personalized prompt

Errors:
    - 400 if projectId is missing
    - 404 if project is not found
    - 500 if database access fails

## Response `200`

Successful Response

- unknown

---

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