rm api test