Forums

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

API Token

Michael Nessler
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!
February 15, 2024

Hello, I'm new here, sorry for the beginner question:

I created an API token following the instructions on https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/

If I understand the instructions correctly, I should change my confluence-user/password to <email of the Atlassian account>/<my api token> in curl. However, when I do this, the call no longer works:

curl -u <my confluenc user>:<my pw> -v "<URI of our REST API>/content/..." works well, the same call with email/token does not. Any hints?

And, why use this API token at all when Confluence-User/PW works well?

Thanks in advance, Michael

1 answer

0 votes
Hana Kučerová
Community Champion
February 15, 2024

Hi @Michael Nessler ,

welcome to the Atlassian community!

Are you sure you have cloud Confluence? Please, what is your Confluence URL?

Is it something like xxx.atlassian.net or something complete different? Thank you.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events