# Flowg8 · Rename a workspace

Use the organization revision from the directory.



## PUT /v1/organization

Authentication: restricted integration key (scope: organization:write) or Flowg8 sign-in access token
Required tenant header: X-Organization-Id.
Required user permissions: Administrator or Sandbox developer required. The API checks current membership, roles, key scopes and resource permissions on every request. Documentation visibility grants no access.

## Input parameters
- name (string, required): min length 1 · max length 120
- revision (integer, required): min 1 · max 9007199254740991

## Request example (replace example IDs)

```sh
curl -X PUT "https://api.flowg8.io/v1/organization" \
  -H "authorization: Bearer $FLOWG8_API_KEY" \
  -H "x-organization-id: 10000000-0000-4000-8000-000000000001" \
  -H "idempotency-key: example-rename-workspace-001" \
  -H "content-type: application/json" \
  --data-raw '{
  "name": "Example workspace",
  "revision": 1
}'
```

## Response excerpt

```json
{
  "organization": {
    "id": "10000000-0000-4000-8000-000000000001",
    "name": "Example workspace",
    "revision": 2
  }
}
```

Source: /docs/rename-workspace
Full schemas: /docs/openapi.json
