def METHOD_NAME(payload, auth_protocol):
    data = request.get_json(force=True)
    data = _validate_item("user_storage", data)
    checkDuplicate("user_storage", data["name"])
    if auth_protocol == "auth_basic":
        return json.dumps(
            {
                "id": isard_user_storage_provider_basic_auth_add(
                    data["provider"],
                    data["name"],
                    data["description"],
                    data["url"],
                    data["urlprefix"],
                    data["access"],
                    data["quota"],
                    data["user"],
                    data["password"],
                    data["verify_cert"],
                )
            }
        )
    if auth_protocol == "auth_oauth2":
        raise Error("not_found", "Not implemented")
    raise Error("not_found", "Method not implemented")