*
* @param id the ID of the ingestion task to deactivate.
* @return a task for monitoring the progress of the operation.
*/
public Task<ObjectIngestionRestRep> deactivate(URI id) {
TaskResourceRep task = client.post(TaskResourceRep.class, OBJECT_INGESTION_URL + ID_PATH + DEACTIVATE_PATH, id);
return new Task<ObjectIngestionRestRep>(client, task, ObjectIngestionRestRep.class);
}