---
agentTools:
  projectIndex: https://evolutionscript.readme.io/llms.txt
---

# Update general information

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Api with Access Token",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://yoursite.com/api/"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/user/update/general": {
      "post": {
        "summary": "Update general information",
        "description": "",
        "operationId": "update-general-information",
        "parameters": [
          {
            "name": "Authentication",
            "in": "header",
            "description": "Ex: Bearer {access_token} should be replaced with the user access token.",
            "required": true,
            "schema": {
              "type": "string",
              "default": "Bearer {access_token}"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "required": [
                  "accept_emails",
                  "message_system",
                  "password"
                ],
                "properties": {
                  "accept_emails": {
                    "type": "string",
                    "description": "Allow receive newsletter from admin. Available options: yes | no",
                    "default": "yes"
                  },
                  "message_system": {
                    "type": "string",
                    "description": "Activate message system. Available options: yes | no",
                    "default": "yes"
                  },
                  "password": {
                    "type": "string",
                    "description": "User password or Two-Factor code if it is active."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  status:\"success\",\n  message: \"OK\"\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  status:\"error\",\n  message: \"invalidrequest\"\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "65bd0d9a8cfebc004220b8d8:65c5ca10bcf0de0030836fb0"
}
```