Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

rest api - confluence

Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 20, 2020

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/ 

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 22, 2020

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:

  1. Basic Auth for REST APIs 
  2. Generating API tokens

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events