code: public DeviceEnvelope deleteDevice(String deviceId) throws ApiException {
          ApiResponse<DeviceEnvelope> resp = deleteDeviceWithHttpInfo(deviceId);
          return resp.getData();
      }
docs: Delete Device
  Deletes a device
  @param deviceId deviceId (required)
  @return DeviceEnvelope
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body