Skip to main content
PATCH
/
workspaces
/
{id}
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"
    }'
{
  "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"
}

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.

id
string
required
Workspace UUID
name
string
Workspace name (1-255 characters)
description
string
Workspace description (max 1000 characters)
timezone
string
IANA timezone identifier (e.g., “America/Los_Angeles”, “Europe/London”)
icon
string
Workspace icon URL
contactName
string
Primary contact name
contactPhone
string
Primary contact phone number
contactEmail
string
Primary contact email address
streetAddress
string
Street address
state
string
State or province
zip
string
ZIP or postal code
country
string
Country code or name
businessRegistrationNumber
string
Business registration number (EIN, VAT, etc.)
isRebilled
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.
rebillingMarkup
number
Multiplier applied to wallet top-up charges when rebilling is enabled (1 = no markup, 10 = 10x markup). Range 1-10.
autoTopupEnabled
boolean
Enable or disable auto-topup. Enabling requires both autoTopupThreshold and autoTopupAmount to be set.
autoTopupThreshold
integer
Balance threshold in cents; when the wallet falls below this, auto-topup triggers. Pass null to clear.
autoTopupAmount
integer
Amount in cents to charge when auto-topup triggers. Pass null to clear.
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"
    }'
{
  "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"
}