Change PUT to DELETE and move deviceId field to url