---
title: "Edit an organization"
method: PUT
path: "/organization/{organizationId}"
tags: ["Organization Main Calls"]
---

# Edit an organization

`PUT /organization/{organizationId}`

## Request

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

To edit an organization you must have the admin permission

## Path parameters

- `organizationId` string, uuid, required

## Request body

- OrganizationEditRequest
  - `name` string, required: name is case insensitive
  - `description` string
  - `website_url` string, nullable
  - `repository` string, nullable
  - `logo_url` string, nullable
  - `icon_url` string, nullable
  - `admin_emails` string[], nullable

## Response `200`

Edit an organization

- 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
- `409`: Organization name is already taken

---

[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)
