Basic authentication with passwords is deprecated API Origin: Application & API OSI layer 7 · Application Last updated 2 Dec 2026

Atlassian Cloud REST API: 401 Basic authentication with passwords is deprecated

Jira/Confluence Cloud no longer accepts account passwords for the API.

Exact message you may see Basic authentication with passwords is deprecatedAtlassian 401 Basic authenticationJira API token required
Seen on: Atlassian

Meaning

Use the account email with an API token as the Basic auth password, or OAuth 2.0 (3LO) for apps.

Common causes

  • Using the account password
  • Using an expired or revoked API token
  • Wrong email used with the token
  • Calling Server/Data Center docs against Cloud

⚡ Quick fix

  1. Create an API token at id.atlassian.com and use email:token
  2. Use OAuth 2.0 for multi-user apps
  3. Check you are using the Cloud base URL

Detailed fix by platform

cURL

  1. curl -u you@example.com:$API_TOKEN https://yourcompany.atlassian.net/rest/api/3/myself

How to diagnose

  1. Credentials — Email:token?
  2. Token — Valid?
  3. Product — Cloud or Server?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.