Remotehost Docs
API ReferenceOrganizations

Rename an organization or change its slug

PATCH
/orgs/{orgId}

Changes the name, the slug, or both; needs org.update (owners and admins). A changed slug leaves the old one as an alias: it keeps reaching the org's members, and no other org can take it until the org releases it. Moving back to one of the org's own old slugs is allowed. Slug changes are rate limited per user.

Authorization

bearerAuth
AuthorizationBearer <token>

A RemoteHost API key (rh_sk_...) or a user session token.

In: header

Path Parameters

orgId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/orgs/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "org": {    "id": "string",    "name": "string",    "slug": "acme",    "plan": "none",    "onboarded_at": "string",    "created_at": "string",    "updated_at": "string"  }}