# update account

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/account/update:
    post:
      summary: update account
      deprecated: false
      description: ''
      tags:
        - Rotation proxy/account
        - account
      parameters:
        - name: Authorization
          in: header
          description: ''
          example: Bearer {{AUTH_TOKEN}}
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                filter:
                  description: which account to update
                  allOf:
                    - type: object
                      properties:
                        id:
                          description: accout id array, only support one element
                          type: array
                          items:
                            type: integer
                      x-apifox-refs: {}
                      x-apifox-orders:
                        - id
                      required:
                        - id
                update:
                  description: required
                  allOf:
                    - type: object
                      properties:
                        password:
                          description: new password
                          type: string
                        tag:
                          description: new tag
                          type: string
                        traffic_limit_mb:
                          description: new traffic limit
                          type: integer
                      x-apifox-refs: {}
                      x-apifox-orders:
                        - password
                        - tag
                        - traffic_limit_mb
              x-apifox-refs: {}
              x-apifox-orders:
                - filter
                - update
              required:
                - filter
                - update
            example:
              filter:
                id:
                  - 1
              update:
                password: newpassword
                tag: new tag
                traffic_limit_mb: 200
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta_message:
                    type: string
                    description: success or other error msg
                  meta_status:
                    type: integer
                    description: 1 success, negative for error
                x-apifox-refs: {}
                x-apifox-orders:
                  - meta_message
                  - meta_status
                required:
                  - meta_status
                  - meta_message
          headers: {}
          x-apifox-name: result
      security: []
      x-apifox-folder: Rotation proxy/account
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2880121/apis/api-88999346-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.ipcola.com
    description: ipcola
security: []

```
