# Update workspace settings

`provider_settings.update`

Update your Portal's company details, unlocked theme colors, client-portal options, or notifications. Read provider_settings.get first and pass expected_revision. Choose current teammates for notification recipient emails. For shared branding and custom domains, start with management_groups.get_branding when available to your account. Reuse client_request_id only for an identical retry.

[Settings guide](https://docs.levr.ai/mcp/resources/provider_settings.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: write. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "changes": {
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "color_1": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "type": "string"
        },
        "color_10": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "type": "string"
        },
        "color_2": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "type": "string"
        },
        "color_3": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "type": "string"
        },
        "color_4": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "type": "string"
        },
        "color_5": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "type": "string"
        },
        "color_6": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "type": "string"
        },
        "color_7": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "type": "string"
        },
        "color_8": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "type": "string"
        },
        "color_9": {
          "pattern": "^#[0-9A-Fa-f]{6}$",
          "type": "string"
        },
        "do_send_daily_digest": {
          "type": "boolean"
        },
        "do_send_email_when_new_business_added": {
          "type": "boolean"
        },
        "do_send_email_when_new_deal_added": {
          "type": "boolean"
        },
        "industry": {
          "maxLength": 5000,
          "type": "string"
        },
        "is_client_direct_deal_creation_enabled": {
          "type": "boolean"
        },
        "is_client_marketplace_enabled": {
          "type": "boolean"
        },
        "location": {
          "maxLength": 5000,
          "type": "string"
        },
        "name": {
          "maxLength": 5000,
          "type": "string"
        },
        "new_business_notification_users": {
          "items": {
            "format": "email",
            "type": "string"
          },
          "maxItems": 100,
          "type": "array"
        },
        "new_deal_notification_users": {
          "items": {
            "format": "email",
            "type": "string"
          },
          "maxItems": 100,
          "type": "array"
        },
        "phone": {
          "maxLength": 5000,
          "type": "string"
        },
        "reporting_notification_users": {
          "items": {
            "format": "email",
            "type": "string"
          },
          "maxItems": 100,
          "type": "array"
        },
        "website": {
          "maxLength": 5000,
          "type": "string"
        }
      },
      "type": "object"
    },
    "client_request_id": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "expected_revision": {
      "maxLength": 64,
      "minLength": 64,
      "type": "string"
    },
    "provider_slug": {
      "description": "Provider slug returned by providers.list; reuse a known value. Named slugs are valid.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "provider_slug",
    "expected_revision",
    "changes",
    "client_request_id"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "settings": {
          "additionalProperties": false,
          "properties": {
            "client_portal": {
              "additionalProperties": false,
              "properties": {
                "is_client_direct_deal_creation_enabled": {
                  "type": "boolean"
                },
                "is_client_marketplace_enabled": {
                  "type": "boolean"
                }
              },
              "required": [
                "is_client_marketplace_enabled",
                "is_client_direct_deal_creation_enabled"
              ],
              "type": "object"
            },
            "company": {
              "additionalProperties": false,
              "properties": {
                "industry": {
                  "type": "string"
                },
                "location": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "phone": {
                  "type": "string"
                },
                "website": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "website",
                "phone",
                "industry",
                "location"
              ],
              "type": "object"
            },
            "notifications": {
              "additionalProperties": false,
              "properties": {
                "do_send_daily_digest": {
                  "type": "boolean"
                },
                "do_send_email_when_new_business_added": {
                  "type": "boolean"
                },
                "do_send_email_when_new_deal_added": {
                  "type": "boolean"
                },
                "new_business_notification_users": {
                  "items": {
                    "format": "email",
                    "type": "string"
                  },
                  "type": "array"
                },
                "new_deal_notification_users": {
                  "items": {
                    "format": "email",
                    "type": "string"
                  },
                  "type": "array"
                },
                "reporting_notification_users": {
                  "items": {
                    "format": "email",
                    "type": "string"
                  },
                  "type": "array"
                }
              },
              "required": [
                "do_send_email_when_new_business_added",
                "do_send_email_when_new_deal_added",
                "do_send_daily_digest",
                "new_business_notification_users",
                "new_deal_notification_users",
                "reporting_notification_users"
              ],
              "type": "object"
            },
            "provider_slug": {
              "description": "Provider slug returned by providers.list; reuse a known value. Named slugs are valid.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "revision": {
              "type": "string"
            },
            "theme": {
              "additionalProperties": false,
              "properties": {
                "color_1": {
                  "type": "string"
                },
                "color_10": {
                  "type": "string"
                },
                "color_2": {
                  "type": "string"
                },
                "color_3": {
                  "type": "string"
                },
                "color_4": {
                  "type": "string"
                },
                "color_5": {
                  "type": "string"
                },
                "color_6": {
                  "type": "string"
                },
                "color_7": {
                  "type": "string"
                },
                "color_8": {
                  "type": "string"
                },
                "color_9": {
                  "type": "string"
                }
              },
              "required": [
                "color_1",
                "color_2",
                "color_3",
                "color_4",
                "color_5",
                "color_6",
                "color_7",
                "color_8",
                "color_9",
                "color_10"
              ],
              "type": "object"
            }
          },
          "required": [
            "provider_slug",
            "revision",
            "company",
            "theme",
            "client_portal",
            "notifications"
          ],
          "type": "object"
        }
      },
      "required": [
        "settings"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```

Check the result, then read the affected record to confirm your change.
