Unregister a workspace
Unregisters a workspace. Its past runs are kept in the history. Project files are never
touched; with purge: true the folder’s .cliq/ directory is deleted too.
When the daemon is connected to CliqHub it also asks CliqHub to drop the workspace from
its catalog (hub_removed); if CliqHub cannot be reached the workspace is still
unregistered here. Unregistering a path that is not registered succeeds with
removed: false.
From the CLI: cliq workspace delete.
No credential is needed from this machine. From another host, send Authorization: Bearer with a dispatch token CliqHub signed for this daemon or a cliq_tok_… personal token of a user in the daemon’s realm; this only works once the daemon is connected to CliqHub. See Authentication.
Authorizations
Not needed from the same machine. From another host: a dispatch JWT CliqHub signed for this daemon, or a cliq_tok_… personal token whose user is in the daemon's realm.