> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nedzo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Update workspace

> Update an existing workspace by ID via the Nedzo REST API. Change the workspace name, settings, or configuration with a PATCH request to the endpoint.

<ParamField path="id" type="string" required>
  Workspace UUID
</ParamField>

<ParamField body="name" type="string">
  Workspace name (1-255 characters)
</ParamField>

<ParamField body="description" type="string">
  Workspace description (max 1000 characters)
</ParamField>

<ParamField body="timezone" type="string">
  IANA timezone identifier (e.g., "America/Los\_Angeles", "Europe/London")
</ParamField>

<ParamField body="icon" type="string">
  Workspace icon URL
</ParamField>

<ParamField body="contactName" type="string">
  Primary contact name
</ParamField>

<ParamField body="contactPhone" type="string">
  Primary contact phone number
</ParamField>

<ParamField body="contactEmail" type="string">
  Primary contact email address
</ParamField>

<ParamField body="streetAddress" type="string">
  Street address
</ParamField>

<ParamField body="state" type="string">
  State or province
</ParamField>

<ParamField body="zip" type="string">
  ZIP or postal code
</ParamField>

<ParamField body="country" type="string">
  Country code or name
</ParamField>

<ParamField body="businessRegistrationNumber" type="string">
  Business registration number (EIN, VAT, etc.)
</ParamField>

<ParamField body="isRebilled" type="boolean">
  Enable or disable rebilling on this workspace. When true, the workspace is charged directly via its own Stripe Connect customer. Enabling requires Stripe Connect to be set up on the parent account.
</ParamField>

<ParamField body="rebillingMarkup" type="number">
  Multiplier applied to wallet top-up charges when rebilling is enabled (1 = no markup, 10 = 10x markup). Range 1-10.
</ParamField>

<ParamField body="autoTopupEnabled" type="boolean">
  Enable or disable auto-topup. Enabling requires both `autoTopupThreshold` and `autoTopupAmount` to be set.
</ParamField>

<ParamField body="autoTopupThreshold" type="integer">
  Balance threshold in cents; when the wallet falls below this, auto-topup triggers. Pass `null` to clear.
</ParamField>

<ParamField body="autoTopupAmount" type="integer">
  Amount in cents to charge when auto-topup triggers. Pass `null` to clear.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X PATCH "https://api.nedzo.ai/v1/workspaces/19c3b12f-ec54-43ad-8686-00e921f1befd" \
      -H "Authorization: Bearer YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "Acme Corporation",
        "description": "Main workspace for Acme Corp operations",
        "timezone": "America/Los_Angeles",
        "icon": "https://example.com/acme-icon.png",
        "contactName": "Jane Smith",
        "contactPhone": "+1234567890",
        "contactEmail": "jane@acme.com",
        "streetAddress": "123 Main Street",
        "state": "CA",
        "zip": "90210",
        "country": "US",
        "businessRegistrationNumber": "12-3456789"
      }'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "id": "19c3b12f-ec54-43ad-8686-00e921f1befd",
    "accountId": "789e4567-e89b-12d3-a456-426614174000",
    "name": "Acme Corporation",
    "description": "Main workspace for Acme Corp operations",
    "timezone": "America/Los_Angeles",
    "icon": "https://example.com/acme-icon.png",
    "contactName": "Jane Smith",
    "contactPhone": "+1234567890",
    "contactEmail": "jane@acme.com",
    "streetAddress": "123 Main Street",
    "state": "CA",
    "zip": "90210",
    "country": "US",
    "businessRegistrationNumber": "12-3456789",
    "balance": 0,
    "isRebilled": false,
    "rebillingMarkup": 1,
    "autoTopupEnabled": false,
    "autoTopupThreshold": null,
    "autoTopupAmount": null,
    "createdAt": "2024-01-15T10:30:00Z",
    "updatedAt": "2024-01-15T11:00:00Z"
  }
  ```
</ResponseExample>
