# replace ip

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/static_direct_proxy/replace_ip:
    post:
      summary: replace ip
      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 refund
                  type: integer
                change_location:
                  type: boolean
                  description: change location or not
                country_code:
                  type: string
                  description: new location code
                  nullable: true
              x-apifox-refs: {}
              x-apifox-orders:
                - id
                - change_location
                - country_code
              required:
                - id
                - change_location
                - country_code
            example:
              id: 1
              change_location: true
              country_code: US
      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 for success, negative for error
                  old_ip:
                    type: string
                  new_ip:
                    type: string
                x-apifox-refs: {}
                x-apifox-orders:
                  - meta_message
                  - meta_status
                  - old_ip
                  - new_ip
                required:
                  - meta_message
                  - meta_status
                  - old_ip
                  - new_ip
          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-169716872-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.ipcola.com
    description: ipcola
security: []

```
