# set ip whitelist

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/static_direct_proxy/set_ip_whitelist:
    post:
      summary: set ip whitelist
      deprecated: false
      description: ''
      tags:
        - Static proxy/static direct proxy
        - static direct proxy
      parameters:
        - name: Authorization
          in: header
          description: ''
          example: Bearer {{AUTH_TOKEN}}
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  description: record id to set
                  type: integer
                ip_list:
                  description: ip array
                  type: array
                  items:
                    type: string
              x-apifox-refs: {}
              x-apifox-orders:
                - id
                - ip_list
              required:
                - id
                - ip_list
            example:
              id: 1
              ip_list:
                - 127.0.0.1
                - 127.0.0.2
      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: Static proxy/static direct proxy
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/2880121/apis/api-88999369-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.ipcola.com
    description: ipcola
security: []

```
