revert api relation