---
title: "Change organization plan"
method: POST
path: "/organization/{organizationId}/changePlan"
tags: ["Billing"]
---

# Change organization plan

`POST /organization/{organizationId}/changePlan`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/organization/{organizationId}/changePlan`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/organization/:organizationId/changePlan/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `organizationId` string, uuid, required

## Request body

- OrganizationChangePlanRequest
  - `plan` string

## Response `200`

plan has been successfully changed

- Organization
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time
  - `name` string, required: name is case insensitive
  - `description` string, nullable
  - `plan` 'FREE' | 'TEAM' | 'TEAM_YEARLY' | 'ENTERPRISE' | 'ENTERPRISE_YEARLY' | 'PROFESSIONAL' | 'BUSINESS', required: BUSINESS & PROFESSIONAL are deprecated
  - `website_url` string, nullable
  - `repository` string, nullable
  - `logo_url` string, nullable
  - `icon_url` string, nullable
  - `admin_emails` string[], nullable
  - `owner` string, uuid: uuid of the user owning the organization
  - `organization_plan` object
    - `plan` 'FREE' | 'TEAM' | 'TEAM_YEARLY' | 'ENTERPRISE' | 'ENTERPRISE_YEARLY' | 'PROFESSIONAL' | 'BUSINESS': BUSINESS & PROFESSIONAL are deprecated
    - `audit_logs_retention_in_days` number: audit logs maximum period available in days

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
