The params `name` and `imageRef` are required in your `resize_server` definition file so the above call will fail.