openapi: 3.2.0 info: title: Fast Delete Project API version: 0.1.0 tags: - name: Delete Project paths: /deleteProject: delete: summary: Delete Project Endpoint description: 'Deletes a project and all associated data including images, folders, persons, and associations. Query Parameters: projectId (int): The ID of the project to delete (required) Returns: JSON response with: - message: Success message - project_id: The deleted project ID Errors: - 400 if projectId is missing - 404 if project is not found - 500 if deletion fails' operationId: delete_project_endpoint_deleteProject_delete parameters: - name: projectId in: query required: true schema: type: integer title: Projectid responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - Delete Project components: schemas: HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError ValidationError: properties: loc: items: anyOf: - type: string - type: integer type: array title: Location msg: type: string title: Message type: type: string title: Error Type type: object required: - loc - msg - type title: ValidationError