# /v1/account/{}/team/{}/invites/{} stops working

Calls to /v1/account/{id}/team/{id}/invites/{id} on Aiven API stopped working on May 21, 2026.

On May 21, 2026, the endpoint /v1/account/{id}/team/{id}/invites/{id} was removed from the Aiven API. Requests directed to this endpoint fail since that date. The change retired the account and team-level invite path across all operations calling it.

## What to use instead

Call /v1/organization/{organization_id}/invitation/{user_email} instead using the organization-level API.

- API: Aiven API (api.aiven.io)
- Kind: Endpoint removal
- Takes effect: May 21, 2026
- Calls after that day: fail
- Calls it hits: `/v1/account/{id}/team/{id}/invites/{id}`
- 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-team-invites-stops-working/

## Aiven API's words

> The API endpoint /v1/account/{account_id}/team/{team_id}/invites/{user_email} is deprecated. Use https://api.aiven.io/v1/organization/{organization_id}/invitation/{user_email} instead. It will be removed on 2026-05-21.

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