Workspace Management

Update workspace settings

Updates workspace settings using PATCH semantics. Accepts lang_code (e.g., 'en', 'es') for workspace_language and converts to display format for storage. Undefined fields are not modified, null clears the field.

patch/v1/workspace

Request

  • Base URL: https://api.lindo.ai
  • URL: https://api.lindo.ai/v1/workspace
  • Auth: HTTP bearer

Request body

workspace_namestring nullable

Name of the workspace. Set to null to clear.

workspace_languagestring nullable

Default language for the workspace (lang_code format, e.g., 'en', 'es'). Set to null to clear.

webhook_urlstring nullable

Webhook URL for workspace events. Set to null to clear.

Example request

{
  "workspace_name": "My Workspace",
  "workspace_language": "en",
  "webhook_url": "https://api.mybusiness.com/webhooks"
}

Response

Workspace updated successfully

successtrue required

Indicates the operation was successful

Example response

{
  "success": true,
  "result": {
    "message": "Workspace updated successfully",
    "workspace_id": "workspace_abc123",
    "workspace_name": "My Workspace",
    "workspace_language": "en",
    "webhook_url": "https://api.mybusiness.com/webhooks"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.