code: public ApiResponse<UnregisterDeviceResponseEnvelope> unregisterDeviceWithHttpInfo(String deviceId) throws ApiException {
          com.squareup.okhttp.Call call = unregisterDeviceValidateBeforeCall(deviceId, null, null);
          Type localVarReturnType = new TypeToken<UnregisterDeviceResponseEnvelope>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Unregister Device
  This call clears any associations from the secure device registration.
  @param deviceId Device ID. (required)
  @return ApiResponse&lt;UnregisterDeviceResponseEnvelope&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body