Removes the target from the collection.

<void> DocumentTargetCollection.remove(<DocumentTarget> documentTarget, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
documentTarget Specifies the target to remove.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.