v4

latestOpenAPI 3.1.02026-08-08278476614.0 KB
project

Update Project

Update a project's basic information (name and/or description).

Args: project_id: UUID of the project (validated to be owned by current user) project_data: Project update parameters containing optional name/description project_service: Project service for business logic

Returns: Response with success status, message, and updated project data

Raises: HTTPException: 404 if project not found or user doesn't own it ValueError: If no fields to update are provided

put/api/v1/project/{project_id}

Request body

namestring nullable

New name for the project

descriptionstring nullable

New description for the project

visibility'private' | 'workspace_read' | 'workspace_write'

User-facing visibility options for updating project visibility.

Separate from ProjectVisibility to:

  • Prevent setting visibility to 'example' via the API
  • Map 'private' to None (NULL) in the database

Response

Successful Response

successboolean required
messagestring required