openapi: 3.2.0 info: title: Fast Delete Photographer API version: 0.1.0 tags: - name: DeletePhotographer paths: /deletePhotographer: post: summary: Delete Photographer Endpoint description: "Removes a photographer's association with a specific project.\n\nExpects:\n - JSON with:\n - 'photographerId': unique identifier of the photographer\n - 'projectId': ID of the project to remove from\n\nReturns:\n - Success message if photographer was found and removed from project\n - Error if photographer not found or other issues occur" operationId: delete_photographer_endpoint_deletePhotographer_post requestBody: content: application/json: schema: additionalProperties: true type: object title: Body required: true responses: '200': description: Successful Response content: application/json: schema: {} '422': description: Validation Error content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' tags: - DeletePhotographer components: schemas: 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 HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' type: array title: Detail type: object title: HTTPValidationError