Delete File

Delete a file and its associated S3 object.

Args: file_id: UUID of the file to delete identity: Authentication identity containing org_id db: Database session s3: S3 session for deleting objects

Returns: dict: Success confirmation

Raises: HTTPException: 404 if file not found or doesn't belong to org

delete/v1/files/{file_id}

Path parameters

file_idstring uuid required

Response

Successful Response

{"stackTrail":"paths:/v1/files/{file_id}:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes