chore(rest): change PATCH modify variables to POST

contributes to CAM-642
chore(rest): remove unused imports