> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corebanq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update country



## OpenAPI

````yaml put /v1/countries/{id}
openapi: 3.0.0
info:
  title: Corebanq - Countries API
  description: API endpoints for country data management
  version: 1.0.0
servers: []
security: []
paths:
  /v1/countries/{id}:
    put:
      summary: Update country
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCountryInput'
      responses:
        '200':
          description: Country updated successfully
components:
  schemas:
    UpdateCountryInput:
      type: object
      properties:
        name:
          type: string
        iso_alpha2:
          type: string
          minLength: 2
          maxLength: 2
        iso_alpha3:
          type: string
          minLength: 3
          maxLength: 3
        iso_numeric:
          type: string
          minLength: 3
          maxLength: 3
        iban_length:
          type: integer
        currency_code:
          type: string
          minLength: 3
          maxLength: 3
        active:
          type: boolean
        metadata:
          type: object

````