---
title: "Change the team plan."
method: PUT
path: "/api/teams/{team}/plan"
tags: ["Plans"]
---

# Change the team plan.

`PUT /api/teams/{team}/plan`

## Path parameters

- `team` string, required

## Request body

- ChangePlanDto
  - `planId` string, required — The new plan id.

## Response `200`

Plan changed or redirect url returned.

- PlanChangedDto
  - `redirectUri` string, nullable — Optional redirect uri.

## Other responses

- `400` — Validation error.
- `404` — Team not found.
- `500` — Operation failed.

---

[API](https://skmtc.net/squidex/apis/squidex-api.md) · [All operations](https://skmtc.net/squidex/apis/squidex-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/squidex/squidex-api/versions/b4a9b62f113a/schema)
