Okapi Okapi

Bitbucket Cloud API GET /2.0/repositories endpoint removal

Stopped workingSubscribe to Bitbucket Cloud APIShare

On April 14, 2026, Bitbucket Cloud removed the cross-workspace repository endpoint. Requests to GET /2.0/repositories fail since that date and no longer function. Any integrations calling this endpoint must be updated.


Calls it hits

  • GET /2.0/repositories

What to use instead of these calls

List the user's workspaces with GET /2.0/user/workspaces, then list each workspace's repositories with GET /2.0/repositories/{workspace}.

In Bitbucket Cloud API's words

on April 14 we will move the old cross-workspace APIs into the end of life phase. This means that these APIs will no longer work and all integrations that rely on them will not function.

Bitbucket Cloud API, Announcement

Facts

API
Bitbucket Cloud API api.bitbucket.org
Kind
Endpoint removal
Takes effect
April 14, 2026
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Bitbucket Cloud API's own pages

Questions

When does this change take effect?

Calls to GET /2.0/repositories on Bitbucket Cloud API stopped working on April 14, 2026.

What happens to calls after April 14, 2026?

They have failed since April 14, 2026.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Bitbucket Cloud API 10

  1. GET /2.0/user/permissions/workspacesEndpoint removal Stopped working
  2. GET /2.0/workspacesEndpoint removal Stopped working
  3. /2.0/addon/linkers*Endpoint removal Stopped working
  4. /2.0/repositories/{id}/{id}/issues*Endpoint removal Stopped working
  5. No date DELETE /2.0/addon/linkers/{id}/valuesEndpoint removal Deprecated, no date
  6. No date GET /2.0/addon/linkersEndpoint removal Deprecated, no date
  7. No date GET /2.0/addon/linkers/{id}Endpoint removal Deprecated, no date
  8. No date GET /2.0/addon/linkers/{id}/valuesEndpoint removal Deprecated, no date
  9. No date GET /2.0/addon/linkers/{id}/values/{id}Endpoint removal Deprecated, no date
  10. No date POST /2.0/addon/linkers/{id}/valuesEndpoint removal Deprecated, no date

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub

Get notifications

Subscribe to Bitbucket Cloud API

Hear about each breaking change Bitbucket Cloud API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Bitbucket Cloud API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.