code: public ApiResponse<ApiSuccessResponse> deletePersonalFavoriteWithHttpInfo(String id, String type) throws ApiException {
          com.squareup.okhttp.Call call = deletePersonalFavoriteValidateBeforeCall(id, type, null, null);
          Type localVarReturnType = new TypeToken<ApiSuccessResponse>(){}.getType();
          return apiClient.execute(call, localVarReturnType);
      }
docs: Delete a target
  Delete the target from the agent&#39;s personal favorites.
  @param id The ID of the target. (required)
  @param type The type of target. (required)
  @return ApiResponse&lt;ApiSuccessResponse&gt;
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body