undo_checkout()
Undoes a document checkout via DMS.UndoCheckOutDocument. Releases the lock
placed by checkout() without checking in any changes.
1. Signature
-
Sync
-
Async
ecm.dms.undo_checkout(
model: ECMDocumentModel | int,
object_type_id: int | None = None,
) -> None
await ecm.dms.undo_checkout(
model: ECMDocumentModel | int,
object_type_id: int | None = None,
) -> None
2. Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
|
|
— |
Either an |
|
|
|
The numeric object type ID. If |
4. Exceptions
| Exception | Condition |
|---|---|
|
|
|
|
|
The document is not currently checked out. |
6. See also
-
checkout() — Check out a document
-
files() — Download the files of a document