---
title: "Create or update a company"
method: PUT
path: "/companies/{companyId}"
tags: ["Company"]
---

# Create or update a company

`PUT /companies/{companyId}`

Create or update a company by its external `companyId` (upsert). Only `name`, `plan`, `domain`, `value`,
`sla`, `address` and `customData` are accepted; any other field is ignored. `address` and `customData`
are merged into the existing values rather than replaced, and `customData` accepts up to 100 primitive
values. Setting a non-empty `name` here marks it authoritative, so names sent by the SDK will no longer
overwrite it.

## Path parameters

- `companyId` string, required

## Headers

- `project` string, required

## Request body

- unknown

---

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