I am trying to manage (Create/Update) confluence spaces and pages via python and would like to use Confluence Rest API. I get an error stating, Basic auth is not permitted I have tried following the examples here - https://github.com/atlassian-api/atlassian-python-api. It did not work, is there a similar like this for Confluence https://jira.readthedocs.io/en/master/
Hello Kumar,
Welcome to Atlassian Community. It's nice to have you join us!
From the information you've provided, it sounds like you're trying to do this on Confluence Cloud. Can you confirm? If that's correct, use of basic auth without an API token has been deprecated in Cloud as of last year. You can have a look at that announcement below:
You'll want to follow the procedure from our Developer documentation to generate a token to use with authentication. Have a look below:
Give that a try, and let me know if you have any trouble.
By the way, if you get stuck when writing your integration, we also have a Developer Community, which you can find on our Developer Resources page. There, you can get help with integrations, developing for Atlassian products, and anything similar!
Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.