def METHOD_NAME(ctx: click.Context, run_id: str):
    """Delete a pipeline run."""
    confirmation = f'Are you sure you want to delete run {run_id}?'
    if not click.confirm(confirmation):
        return
    client_obj: client.Client = ctx.obj['client']
    output_format = ctx.obj['output']
    client_obj.delete_run(run_id=run_id)
    output.print_deleted_text('run', run_id, output_format)