---
title: "Update Organization License Key"
method: PUT
path: "/organization-license"
tags: ["organizations"]
---

# Update Organization License Key

`PUT /organization-license`

Receives a new license key via JSON, decodes it, verifies its validity, and updates the organization's license in the system if it is valid.

## Request body

- ModelUpdateOrganizationLicenseKeyPayload
  - `licenseKey` string

## Response `204`

No Content - License key successfully updated

## Other responses

- `400` — Bad Request - Invalid JSON, empty license key, or validation failure of the license key
- `409` — Conflict - License limit is incompatible with the current organization state
- `500` — Internal Server Error - Failure in updating the license or unable to retrieve organization info from context

---

[API](https://skmtc.dev/bindplane/apis/docs-bindplane-com.md) · [All operations](https://skmtc.dev/bindplane/apis/docs-bindplane-com/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bindplane/docs-bindplane-com/revisions/bfcb7e57121c/schema)
