Open mrueg opened 1 year ago
Running mark -k to lock a page does not work with login via API Token as no username can be specified.
mark -k
If we specify a username, it uses the BasicAuth option and the API token does not work.
Options to consider:
-p
--page-username
--username
edit: I see that it is using the json-rpc API which does not seem to support a token-based auth.
There is no solution for this issue yet, is there?
Looks like confluence datacenter v8.8+ and confluence cloud support this now via rest api.
Running
mark -k
to lock a page does not work with login via API Token as no username can be specified.If we specify a username, it uses the BasicAuth option and the API token does not work.
Options to consider:
-p
should not be used for API Token auth and a separate login option should be used--page-username
which is set to--username
if it is empty. So token-based auth can use this entry to lock the page.edit: I see that it is using the json-rpc API which does not seem to support a token-based auth.