# /updatePositionPermit

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /updatePositionPermit:
    post:
      summary: /updatePositionPermit
      deprecated: false
      description: ''
      tags: []
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                chainId:
                  type: number
                  enum:
                    - 1
                    - 42161
                    - 5
                    - 421613
                  description: >-
                    The chain id of the network. Must be one of the chains
                    supported by Aperture.
                  examples:
                    - 1
                tokenId:
                  type: string
                  minLength: 1
                  description: The nonfungible token id of the position.
                permitInfo:
                  type: object
                  properties:
                    signature:
                      type: string
                      minLength: 1
                      description: >-
                        A raw signature of the ERC-712 typed message described
                        in ERC-4494; the signature can be generated, for
                        example, by
                        https://docs.ethers.org/v5/api/signer/#Signer-signTypedData.
                    deadline:
                      type: string
                      minLength: 1
                      description: >-
                        Unix timestamp in seconds indicating deadline for the
                        signed "permit".
                  required:
                    - signature
                    - deadline
                  description: >-
                    Information about a "permit" message signed by the position
                    owner authorizing Aperture UniV3 Automan contract to trigger
                    actions on the position. See
                    https://eips.ethereum.org/EIPS/eip-4494 for information on
                    the "permit" approval flow.
                  x-apidog-orders:
                    - signature
                    - deadline
              required:
                - chainId
                - tokenId
                - permitInfo
              x-apidog-orders:
                - chainId
                - tokenId
                - permitInfo
            example: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apidog-orders: []
          headers: {}
          x-apidog-name: Position permit updated successfully.
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: string
                description: Message explaining why the request is bad
          headers: {}
          x-apidog-name: Bad Request
        '500':
          description: ''
          content:
            application/json:
              schema:
                type: string
                description: Message explaining the error encountered
          headers: {}
          x-apidog-name: Internal Server Error
      security: []
      x-apidog-folder: ''
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/368746/apis/api-3853886-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://api.aperture.finance
    description: Prod Env
  - url: https://api.hyperfocal.tech
    description: Testing Env
security: []

```
