app.clickup.com
Delete a ClickUp Doc
Input
doc requiredThe Doc to delete: its ClickUp link, or just its id (for example 2kyqw87p-1055).
dry_run optionalWhen true the Doc is located and the delete control is checked, and the run stops before removing anything. Clicking that control is what deletes the Doc in ClickUp, so there is no later step to stop at: deleted comes back false.
workspaceId optionalNumeric ClickUp workspace id. Only needed when the Doc is given as a bare id; omit it to use the account's default workspace.
Output
docId requireddryRun requireddeleted requiredworkspaceId requiredurl optionalname optionalThe Doc's title as it stood before this run, carried out so the caller can see which Doc was acted on. Null when the Doc has no title.
accountUsed optionalThe ClickUp account that performed the action, read from the session.
docCountAfter optionaldocCountBefore optionalverifiedAbsent optionalWhether the workspace's Doc list was read again after the deletion and no longer carried this id.
deleteControlReady optional