flip_api.project_services.delete_project ======================================== .. py:module:: flip_api.project_services.delete_project Attributes ---------- .. autoapisummary:: flip_api.project_services.delete_project.router Functions --------- .. autoapisummary:: flip_api.project_services.delete_project.delete_project_endpoint Module Contents --------------- .. py:data:: router .. py:function:: delete_project_endpoint(request: fastapi.Request, project_id: uuid.UUID = Path(..., description='The ID of the project to delete.'), user_id: uuid.UUID = Depends(verify_token), db: sqlmodel.Session = Depends(get_session)) -> None Deletes a project with the provided ID. :param request: FastAPI request object. :type request: Request :param project_id: The ID of the project to delete. :type project_id: UUID :param user_id: The ID of the user making the request. :type user_id: UUID :param db: The database session. :type db: Session :returns: None :raises HTTPException: If the user is not allowed, if the project does not exist, or if there are validation errors.