-
Bug
-
Resolution: Timed out
-
Low
-
None
-
Minor
Issue Summary
We have a documented API endpoint "Get Organizations" that purportedly "Returns a list of your organizations (based on your API key)." However this doesn't make sense on a conceptual level because an API key is scoped to a single organization, so it shouldn't ever return more than one result.
But it actually doesn't return any results. If you use a valid org API key, it returns a 200 response and no data (see screenshot)
Steps to Reproduce
- Create an admin API key
- Make a request to https://api.atlassian.com/admin/v1/orgs with API key as bearer token
- Observe a 200 OK response with the following body:
{"data":[],"links":{"self":"https://api.atlassian.com/admin/v1/orgs"},"meta":null}
Expected Results
This endpoint should probably be removed from the documentation. Alternatively, it should return the metadata for a single organization (which implicitly duplicates the Get Org by ID endpoint) and the documentation should be updated accordingly.
Actual Results
See steps to reproduce.
Workaround
None
[AX-633] Requests to Get Organizations Admin API endpoint returns authenticated response but not data
Component/s | Original: Admin API tokens/keys [ 54490 ] | |
Component/s | New: Org Management - Cloud Admin API keys [ 80136 ] | |
Key |
Original:
|
New:
|
Project | Original: Atlassian Guard [ 18910 ] | New: Admin Experience [ 24210 ] |
Resolution | New: Timed out [ 10 ] | |
Status | Original: Long Term Backlog [ 12073 ] | New: Closed [ 6 ] |
Status | Original: Needs Triage [ 10030 ] | New: Long Term Backlog [ 12073 ] |