# Update Team Settings

Update the settings of the organization.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Account Operations - Team admin",
    "description": "The official SeaTable API Reference (OpenAPI 3.0).",
    "version": "6.2"
  },
  "servers": [
    {
      "url": "https://{server}",
      "variables": {
        "server": {
          "default": "cloud.seatable.io"
        }
      }
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "metrics-enabled": false,
    "proxy-enabled": false
  },
  "tags": [
    {
      "name": "Info & Settings",
      "description": "Retrieve team info and update team settings"
    }
  ],
  "components": {
    "securitySchemes": {
      "AccountTokenAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This is the [Account-Token](/reference/authentication)."
      }
    },
    "schemas": {
      "enable_force_2fa": {
        "type": "boolean",
        "description": "if the 2-factor-authentication is forced (`true` or `false`).",
        "example": true
      },
      "enable_force_sso_login": {
        "type": "boolean",
        "description": "Whether login via SSO is enforced for all team members (`true` or `false`).",
        "example": true
      },
      "enable_new_user_email": {
        "type": "boolean",
        "description": "if newly added users will get a system email (`true` or `false`).",
        "example": true
      },
      "enable_external_user_access_invite_link": {
        "type": "boolean",
        "description": "if external users can access bases via invite links (`true` or `false`).",
        "example": false
      },
      "enable_member_modify_name": {
        "type": "boolean",
        "description": "if members are allowed to change their names (`true` or `false`).",
        "example": false
      }
    }
  },
  "paths": {
    "/api/v2.1/org/admin/settings/": {
      "put": {
        "tags": [
          "Info & Settings"
        ],
        "summary": "Update Team Settings",
        "operationId": "updateTeamSettings",
        "description": "Update the settings of the organization.",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "enable_force_2fa": {
                    "$ref": "#/components/schemas/enable_force_2fa"
                  },
                  "enable_force_sso_login": {
                    "$ref": "#/components/schemas/enable_force_sso_login"
                  },
                  "enable_new_user_email": {
                    "$ref": "#/components/schemas/enable_new_user_email"
                  },
                  "enable_external_user_access_invite_link": {
                    "$ref": "#/components/schemas/enable_external_user_access_invite_link"
                  },
                  "enable_member_modify_name": {
                    "$ref": "#/components/schemas/enable_member_modify_name"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "AccountTokenAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "enable_force_2fa": {
                      "type": "boolean"
                    },
                    "enable_force_sso_login": {
                      "type": "boolean"
                    },
                    "enable_new_user_email": {
                      "type": "boolean"
                    },
                    "enable_external_user_access_invite_link": {
                      "type": "boolean"
                    },
                    "enable_member_modify_name": {
                      "type": "boolean"
                    }
                  }
                },
                "example": {
                  "enable_force_2fa": true,
                  "enable_force_sso_login": false,
                  "enable_new_user_email": true,
                  "enable_external_user_access_invite_link": false,
                  "enable_member_modify_name": true
                }
              }
            }
          }
        }
      }
    }
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 212,
      "2": 220,
      "3": 12,
      "4": 20,
      "5": 34,
      "6": 131,
      "7": 31,
      "8": 141,
      "9": 111,
      "10": 187,
      "11": 145
    }
  }
}
```