Skip to main content
PATCH
Rename the organization
Takes a signed-in session only. A managing key is refused with 403. See the API overview for how a call is scoped to an organization. Renames the organization this call is scoped to. Its owner only, signed in. The slug stays.
Availability: OneCLI Cloud and self-hosted.

Authorizations

Authorization
string
header
required

A managing key (oc_key_...), an older API key (oc_...), or a signed-in session.

Body

application/json
name
string
required
Required string length: 1 - 255

Response

The renamed organization.

id
string
required
name
string
required
slug
string
required