# /v1/account/{}/user/{}/teams stops working

Calls to /v1/account/{id}/user/{id}/teams on Aiven API stopped working on June 15, 2026.

On June 15, 2026, the endpoint /v1/account/{id}/user/{id}/teams was removed. Requests to this path fail since that date. The retirement affects calls targeting account-level user team memberships.

## What to use instead

Call /v1/organization/{organization_id}/user/{member_user_id}/user-groups instead using the organization-level API.

- API: Aiven API (api.aiven.io)
- Kind: Endpoint removal
- Takes effect: June 15, 2026
- Calls after that day: fail
- Calls it hits: `/v1/account/{id}/user/{id}/teams`
- Source: [Announcement](https://api.aiven.io/doc/openapi.json)
- Verified: November 6, 2026, against Aiven API's own pages
- Page: https://www.okapi.bot/providers/aiven-api/breaking-changes/v1-account-user-teams-stops-working/

## Aiven API's words

> The API endpoint /v1/account/{account_id}/user/{user_id}/teams is deprecated. Use https://api.aiven.io/v1/organization/{organization_id}/user/{member_user_id}/user-groups instead. It will be removed on 2026-06-15.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
