async def METHOD_NAME(context, version):
    """Add a new version to AMO.
    Use the `min_version` here, rather than the string with the buildid etc.
    Raises:
        AuthFailedError: If the automation credentials are misconfigured
        AuthInsufficientPermissionsError: If the automation credentials are missing permissions
    """
    url = get_api_url(context, ADD_APP_VERSION, version=version)
    try:
        result = await amo_put(context, url, data=None)
    except ClientResponseError as exc:
        if exc.status == 401:
            raise AuthFailedError("Addonscript credentials are misconfigured")
        elif exc.status == 403:
            raise AuthInsufficientPermissionsError("Addonscript creds are missing permissions")
        raise exc
    return result