The parameters you are passing look correct to me. It should not make any difference that you are trying to set the avatar for an admin user. Are you sure that the avatar_url you are passing is correct? If you try logging in as a new user, does the avatar get set correctly?