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

# Update Project Personalized Prompt Endpoint

`PUT /updateProjectPersonalizedPrompt`

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/fastapi.md) · [All operations](https://skmtc.dev/pavoot/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pavoot/fastapi/revisions/16997cca6697/schema)
