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

# Update region

> Updates an existing region.



## OpenAPI

````yaml https://api.concord.tech/docs/json/privacy-v1/ patch /organizations/{organizationId}/projects/{projectId}/regions/{regionId}
openapi: 3.1.0
info:
  title: Concord Privacy API
  description: >-
    The Concord Privacy API provide full access to the Concord platform for
    registered organizations.
  version: 3.29.6
  contact:
    email: support@concord.tech
    name: Concord Technologies Inc.
    url: https://www.concord.tech
  license:
    name: Proprietary
    url: https://www.concord.tech/legal/saas-agreement
  termsOfService: https://www.concord.tech/legal/saas-agreement
servers:
  - url: https://api.concord.tech/privacy-v1
    description: Concord Privacy API
security:
  - ApiKeyAuth: []
tags:
  - name: API Keys
    description: API Key endpoints.
  - name: Consent Events
    description: Consent event endpoints.
  - name: Consent Types
    description: Consent type endpoints.
  - name: Compliance Requests
    description: Compliance request endpoints.
  - name: Data Systems
    description: Data System endpoints.
  - name: Domains
    description: Domain endpoints.
  - name: Emails
    description: Emails endpoints.
  - name: GCM Scans
    description: GCM Scan endpoints.
  - name: Health Check
    description: Health Check endpoints.
  - name: Metrics
    description: Metrics endpoints.
  - name: Permissions
    description: Permission endpoints.
  - name: Policies
    description: Policy endpoints.
  - name: Projects
    description: Project endpoints.
  - name: Languages
    description: Language endpoints.
  - name: Organizations
    description: Organization endpoints.
  - name: Regions
    description: Region template endpoints.
  - name: Sessions
    description: Session endpoints.
  - name: Trackers
    description: Tracker endpoints.
  - name: Tracker Scans
    description: Tracker Scan endpoints.
  - name: Users
    description: Users endpoints.
  - name: Subscriptions
    description: Subscription endpoints.
paths:
  /organizations/{organizationId}/projects/{projectId}/regions/{regionId}:
    patch:
      tags:
        - Regions
      summary: Update region
      description: Updates an existing region.
      operationId: >-
        patch_privacy_v1_organizations_organizationid_projects_projectid_regions_regionid
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: organizationId
          required: true
        - schema:
            type: string
            format: uuid
          in: path
          name: projectId
          required: true
        - schema:
            type: string
            format: uuid
          in: path
          name: regionId
          required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  maxLength: 256
                regions:
                  anyOf:
                    - enum:
                        - default
                    - type: array
                      items:
                        type: object
                        properties:
                          country:
                            type: string
                            maxLength: 2
                          subDivision:
                            type: string
                            maxLength: 6
                        additionalProperties: false
                customScript:
                  oneOf:
                    - type: string
                settings:
                  type: object
                  properties:
                    branding:
                      type: object
                      properties:
                        buttonRadius:
                          type: string
                          pattern: >-
                            ^([0-9]|[1-2][0-9]|3[0-2])px$|^(0|0\.((125)|(25)|(375)|(5)|(625)|(75)|(875))|1|1\.((125)|(25)|(375)|(5)|(625)|(75)|(875))|2)rem$
                        cardRadius:
                          type: string
                          pattern: >-
                            ^([0-9]|[1-2][0-9]|3[0-2])px$|^(0|0\.((125)|(25)|(375)|(5)|(625)|(75)|(875))|1|1\.((125)|(25)|(375)|(5)|(625)|(75)|(875))|2)rem$
                        font:
                          type: string
                        logoUrl:
                          type: string
                        primaryColor:
                          type: string
                        secondaryColor:
                          type: string
                        poweredByConcord:
                          type: boolean
                      additionalProperties: false
                    consent:
                      type: object
                      properties:
                        blockingMode:
                          type: string
                          enum:
                            - disabled
                            - discovery
                            - permissive
                            - strict
                        consentMode:
                          type: string
                          enum:
                            - implied
                            - express
                        consentBanner:
                          type: object
                          properties:
                            enabled:
                              type: boolean
                            layout:
                              type: string
                              enum:
                                - bar
                                - box
                            position:
                              oneOf:
                                - type: array
                                  items: {}
                                - type: boolean
                                - type: number
                                - type: object
                                - type: string
                            policy:
                              type: string
                              format: uuid
                            title:
                              type: boolean
                            theme:
                              type: string
                              enum:
                                - brand
                                - light
                                - dark
                            closeButton:
                              type: boolean
                            denyButton:
                              type: boolean
                            customizeButton:
                              type: boolean
                            showGooglePrivacyPolicy:
                              type: boolean
                          additionalProperties: false
                        doNotSell:
                          type: boolean
                        consentDuration:
                          type: number
                        gcm:
                          type: string
                          enum:
                            - disabled
                            - basic
                            - advanced
                        gpc:
                          type: boolean
                        limitPii:
                          type: boolean
                        microsoftUET:
                          type: string
                          enum:
                            - disabled
                            - enabled
                            - enabled_with_clarity
                      additionalProperties: false
                    crossSiteTracking:
                      type: boolean
                    floatingButton:
                      type: object
                      properties:
                        enabled:
                          type: boolean
                        circleOffsetX:
                          type: string
                        circleOffsetY:
                          type: string
                        tabOffsetY:
                          type: string
                        position:
                          type: string
                        theme:
                          type: string
                          enum:
                            - brand
                            - light
                            - dark
                        type:
                          type: string
                          enum:
                            - circle
                            - tab
                        icon:
                          type: string
                          enum:
                            - cookie
                            - fingerprint
                            - shield
                      additionalProperties: false
                    placeholders:
                      type: object
                      properties:
                        enabled:
                          type: boolean
                        theme:
                          type: string
                          enum:
                            - brand
                            - light
                            - dark
                      additionalProperties: false
                    privacyCenter:
                      type: object
                      properties:
                        consentHistory:
                          type: boolean
                        disclosures:
                          type: boolean
                        privacyRequests:
                          type: boolean
                        doNotSellRequests:
                          type: boolean
                        position:
                          type: string
                        theme:
                          type: string
                          enum:
                            - brand
                            - light
                            - dark
                            - classic
                      additionalProperties: false
                  additionalProperties: false
                language:
                  type: object
                  properties:
                    enabled:
                      type: boolean
                    defaultLanguage:
                      type: string
                  additionalProperties: false
              additionalProperties: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  name:
                    type: string
                    maxLength: 256
                  regions:
                    anyOf:
                      - enum:
                          - default
                      - type: array
                        items:
                          type: object
                          properties:
                            country:
                              type: string
                              maxLength: 2
                            subDivision:
                              type: string
                              maxLength: 6
                          additionalProperties: false
                  customScript:
                    type: string
                    maxLength: 10240
                  settings:
                    type: object
                    properties:
                      branding:
                        type: object
                        properties:
                          buttonRadius:
                            type: string
                            default: 6px
                            pattern: >-
                              ^([0-9]|[1-2][0-9]|3[0-2])px$|^(0|0\.((125)|(25)|(375)|(5)|(625)|(75)|(875))|1|1\.((125)|(25)|(375)|(5)|(625)|(75)|(875))|2)rem$
                          cardRadius:
                            type: string
                            default: 6px
                            pattern: >-
                              ^([0-9]|[1-2][0-9]|3[0-2])px$|^(0|0\.((125)|(25)|(375)|(5)|(625)|(75)|(875))|1|1\.((125)|(25)|(375)|(5)|(625)|(75)|(875))|2)rem$
                          font:
                            type: string
                            enum:
                              - Arial
                              - Copperplate
                              - Courier New
                              - Garamond
                              - Georgia
                              - Helvetica
                              - Impact
                              - Palatino
                              - Papyrus
                              - Tahoma
                              - Times New Roman
                              - Trebuchet MS
                              - Verdana
                          logoUrl:
                            type: string
                          primaryColor:
                            type: string
                          secondaryColor:
                            type: string
                          poweredByConcord:
                            type: boolean
                            default: true
                        required:
                          - buttonRadius
                          - cardRadius
                          - font
                          - logoUrl
                          - primaryColor
                          - secondaryColor
                          - poweredByConcord
                        additionalProperties: false
                      consent:
                        type: object
                        properties:
                          blockingMode:
                            type: string
                            enum:
                              - disabled
                              - discovery
                              - permissive
                              - strict
                          consentMode:
                            type: string
                            enum:
                              - implied
                              - express
                          consentBanner:
                            type: object
                            properties:
                              enabled:
                                type: boolean
                                default: true
                              layout:
                                type: string
                                default: bar
                                enum:
                                  - bar
                                  - box
                              position:
                                oneOf:
                                  - type: array
                                    items: {}
                                  - type: boolean
                                  - type: number
                                  - type: object
                                  - type: string
                              policy:
                                type: object
                                properties:
                                  createdAt:
                                    oneOf:
                                      - type: array
                                        items: {}
                                      - type: boolean
                                      - type: number
                                      - type: object
                                      - type: string
                                  updatedAt:
                                    oneOf:
                                      - type: array
                                        items: {}
                                      - type: boolean
                                      - type: number
                                      - type: object
                                      - type: string
                                  id:
                                    type: string
                                    format: uuid
                                  organization:
                                    anyOf:
                                      - type: string
                                        format: uuid
                                      - type: object
                                        properties:
                                          id:
                                            type: string
                                            format: uuid
                                          name:
                                            type: string
                                        additionalProperties: false
                                  project:
                                    anyOf:
                                      - type: string
                                        format: uuid
                                      - type: object
                                        properties:
                                          id:
                                            type: string
                                            format: uuid
                                          name:
                                            type: string
                                        additionalProperties: false
                                  category:
                                    anyOf:
                                      - type: string
                                        enum:
                                          - disclosure
                                          - communication
                                          - privacy_setting
                                          - custom
                                        maxLength: 128
                                      - type: string
                                        maxLength: 128
                                        pattern: ^custom_[a-z0-9_]{1,121}$
                                  subcategory:
                                    oneOf:
                                      - type: array
                                        items: {}
                                      - type: boolean
                                      - type: number
                                      - type: object
                                      - type: string
                                  label:
                                    type: string
                                    maxLength: 128
                                    pattern: '[a-z0-9_*]{1,128}$'
                                  version:
                                    type: integer
                                  dateCreated:
                                    type: string
                                    format: date-time
                                  dateUpdated:
                                    type: string
                                    format: date-time
                                  name:
                                    type: string
                                    maxLength: 100
                                  description:
                                    type: string
                                    maxLength: 2000
                                  document:
                                    type: string
                                    maxLength: 5000000
                                  url:
                                    type: string
                                    format: uri
                                  readOnly:
                                    type: boolean
                                    default: false
                                  validStates:
                                    type: array
                                    items:
                                      type: string
                                      enum:
                                        - implied
                                        - viewed
                                        - accepted
                                        - declined
                                  status:
                                    type: string
                                    enum:
                                      - active
                                      - archived
                                      - obsolete
                                      - test
                                  consentDuration:
                                    type: string
                                  required:
                                    type: boolean
                                    default: false
                                  requireReacceptVersion:
                                    type: integer
                                required:
                                  - id
                                  - project
                                  - version
                                  - name
                                  - description
                                additionalProperties: false
                              title:
                                type: boolean
                                default: true
                              theme:
                                type: string
                                default: light
                                enum:
                                  - brand
                                  - light
                                  - dark
                              closeButton:
                                type: boolean
                                default: true
                              denyButton:
                                type: boolean
                                default: true
                              customizeButton:
                                type: boolean
                                default: true
                              showGooglePrivacyPolicy:
                                type: boolean
                                default: false
                            required:
                              - enabled
                              - layout
                              - title
                              - theme
                              - closeButton
                              - denyButton
                              - customizeButton
                            additionalProperties: false
                          doNotSell:
                            type: boolean
                            default: false
                          consentDuration:
                            type: number
                            default: 6
                            minimum: 0
                          gcm:
                            type: string
                            default: advanced
                            enum:
                              - disabled
                              - basic
                              - advanced
                          gcmPolicy:
                            type: string
                            default: https://business.safety.google/privacy
                          gpc:
                            type: boolean
                            default: false
                          limitPii:
                            type: boolean
                            default: false
                          microsoftUET:
                            type: string
                            default: disabled
                            enum:
                              - disabled
                              - enabled
                              - enabled_with_clarity
                        required:
                          - blockingMode
                          - consentMode
                          - doNotSell
                          - consentDuration
                          - gcm
                          - gpc
                        additionalProperties: false
                      crossSiteTracking:
                        type: boolean
                        default: false
                      floatingButton:
                        type: object
                        properties:
                          enabled:
                            type: boolean
                            default: true
                          circleOffsetX:
                            type: string
                            default: 24px
                          circleOffsetY:
                            type: string
                            default: 24px
                          tabOffsetY:
                            type: string
                            default: 256px
                          position:
                            type: string
                            default: right
                          theme:
                            type: string
                            default: light
                            enum:
                              - brand
                              - light
                              - dark
                          type:
                            type: string
                            default: circle
                            enum:
                              - circle
                              - tab
                          icon:
                            type: string
                            default: cookie
                            enum:
                              - cookie
                              - fingerprint
                              - shield
                        required:
                          - enabled
                          - circleOffsetX
                          - circleOffsetY
                          - tabOffsetY
                          - position
                          - theme
                          - type
                          - icon
                        additionalProperties: false
                      placeholders:
                        type: object
                        properties:
                          enabled:
                            type: boolean
                            default: true
                          theme:
                            type: string
                            default: light
                            enum:
                              - brand
                              - light
                              - dark
                        required:
                          - enabled
                          - theme
                        additionalProperties: false
                      privacyCenter:
                        type: object
                        properties:
                          consentHistory:
                            type: boolean
                            default: true
                          disclosures:
                            type: boolean
                            default: true
                          privacyRequests:
                            type: boolean
                            default: true
                          doNotSellRequests:
                            type: boolean
                            default: true
                          position:
                            type: string
                            default: right
                          theme:
                            type: string
                            default: classic
                            enum:
                              - brand
                              - light
                              - dark
                              - classic
                        required:
                          - consentHistory
                          - disclosures
                          - privacyRequests
                          - doNotSellRequests
                          - position
                          - theme
                        additionalProperties: false
                    required:
                      - consent
                    additionalProperties: false
                  language:
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        default: false
                      defaultLanguage:
                        type: string
                        default: en_US
                    required:
                      - enabled
                    additionalProperties: false
                  id:
                    type: string
                    format: uuid
                  projectId:
                    type: string
                    format: uuid
                  dateCreated:
                    type: integer
                  dateUpdated:
                    type: integer
                  slug:
                    type: string
                    maxLength: 256
                required:
                  - name
                  - regions
                  - settings
                  - id
                  - projectId
                  - dateCreated
                  - dateUpdated
                  - slug
                additionalProperties: false
        '400':
          description: Bad request response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                    format: int32
                    default: 404
                    description: The status code of the request.
                  error:
                    type: string
                    default: Not Found
                    description: The error string for the status code.
                  message:
                    type: string
                    description: Description of the error encounted.
                required:
                  - statusCode
                  - error
                  - message
        '401':
          description: Unauthorized response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                    format: int32
                    default: 404
                    description: The status code of the request.
                  error:
                    type: string
                    default: Not Found
                    description: The error string for the status code.
                  message:
                    type: string
                    default: Forbidden
                required:
                  - statusCode
                  - error
                  - message
        '403':
          description: Forbidden response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                    format: int32
                    default: 403
                    description: The status code of the request.
                  error:
                    type: string
                    default: Forbidden
                  message:
                    type: string
                    default: Forbidden
                required:
                  - statusCode
                  - error
                  - message
        '404':
          description: Not found response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                    format: int32
                    default: 404
                  error:
                    type: string
                    default: Not Found
                  message:
                    type: string
                    default: Not Found
                required:
                  - statusCode
                  - error
                  - message
        '422':
          description: Unprocessable Entity response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                    format: int32
                    default: 422
                  error:
                    type: string
                    default: Unprocessable Entity
                  message:
                    type: string
                    description: Description of the error encounted.
                required:
                  - statusCode
                  - error
                  - message
        '500':
          description: Internal server error response.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: integer
                    format: int32
                    default: 500
                  error:
                    type: string
                    default: Internal Server Error
                  message:
                    type: string
                    default: Internal Server Error
                    description: Will always be "Internal Server Error"
                required:
                  - statusCode
                  - error
                  - message
components:
  securitySchemes:
    ApiKeyAuth:
      name: x-api-key
      type: apiKey
      in: header
      description: ''

````