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

# Update Palo Alto Networks PKI sync

> Update the specified Palo Alto Networks PKI Sync.



## OpenAPI

````yaml PATCH /api/v1/cert-manager/syncs/palo-alto-networks/{pkiSyncId}
openapi: 3.0.3
info:
  title: Infisical API
  description: List of all available APIs that can be consumed
  version: 0.0.1
servers:
  - url: https://us.infisical.com
    description: Production server (US)
  - url: https://eu.infisical.com
    description: Production server (EU)
  - url: http://localhost:8080
    description: Local server
security: []
paths:
  /api/v1/cert-manager/syncs/palo-alto-networks/{pkiSyncId}:
    patch:
      tags:
        - PKI Syncs
      description: Update the specified Palo Alto Networks PKI Sync.
      operationId: updatePaloAltoNetworksPkiSync
      parameters:
        - schema:
            type: string
          in: path
          name: pkiSyncId
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 256
                description:
                  type: string
                  maxLength: 255
                isAutoSyncEnabled:
                  type: boolean
                destinationConfig:
                  type: object
                  properties:
                    template:
                      type: string
                      minLength: 1
                      maxLength: 63
                      pattern: ^[A-Za-z0-9 ._-]+$
                      description: >-
                        The Panorama template to store certificates in. Required
                        when the connection points to a Panorama, and not
                        allowed for a firewall.
                    pushToDevices:
                      type: boolean
                      default: true
                      description: >-
                        Whether to push every template stack that contains the
                        template to its firewalls after a commit. Applies to
                        Panorama only.
                  additionalProperties: false
                syncOptions:
                  type: object
                  properties:
                    canRemoveCertificates:
                      type: boolean
                      default: true
                    includeRootCa:
                      type: boolean
                      default: false
                    preserveItemOnRenewal:
                      type: boolean
                      default: true
                    healthCheckCommand:
                      type: string
                      maxLength: 8192
                      nullable: true
                    postSyncCommand:
                      type: string
                      maxLength: 8192
                      nullable: true
                    certificateNameSchema:
                      type: string
                      minLength: 1
                  required:
                    - certificateNameSchema
                  additionalProperties: false
                subscriberId:
                  type: string
                  format: uuid
                  nullable: true
                connectionId:
                  type: string
                  format: uuid
                filters:
                  type: object
                  properties:
                    profileIds:
                      type: array
                      items:
                        type: string
                        format: uuid
                      maxItems: 20
                      description: >-
                        Match certificates issued from any one of these
                        certificate profiles.
                    certificateOrderIds:
                      type: array
                      items:
                        type: string
                        format: uuid
                      maxItems: 10000
                      description: >-
                        Match any certificate belonging to any one of these
                        certificate orders. An order groups a certificate with
                        every renewal of it, so this keeps matching as the
                        certificate is renewed.
                    metadata:
                      type: array
                      items:
                        type: object
                        properties:
                          key:
                            type: string
                            minLength: 1
                            maxLength: 255
                            description: Metadata key the certificate must carry.
                          value:
                            type: string
                            maxLength: 1020
                            description: >-
                              Metadata value the key must have. Omit it to match
                              any value.
                        required:
                          - key
                        additionalProperties: false
                      maxItems: 20
                      description: >-
                        Match certificates carrying every one of these metadata
                        pairs. Give a key on its own to match any value for that
                        key.
                  additionalProperties: false
                  nullable: true
                  description: >-
                    Replaces which of the Application's certificates this sync
                    holds. Omit to leave them unchanged, or set to null to empty
                    the sync.
                removalOptions:
                  type: object
                  properties: {}
                  additionalProperties: false
              additionalProperties: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  name:
                    type: string
                    maxLength: 256
                  description:
                    type: string
                    nullable: true
                  destination:
                    type: string
                    enum:
                      - palo-alto-networks
                  isAutoSyncEnabled:
                    type: boolean
                  destinationConfig:
                    type: object
                    properties:
                      template:
                        type: string
                        minLength: 1
                        maxLength: 63
                        pattern: ^[A-Za-z0-9 ._-]+$
                        description: >-
                          The Panorama template to store certificates in.
                          Required when the connection points to a Panorama, and
                          not allowed for a firewall.
                      pushToDevices:
                        type: boolean
                        default: true
                        description: >-
                          Whether to push every template stack that contains the
                          template to its firewalls after a commit. Applies to
                          Panorama only.
                    additionalProperties: false
                  syncOptions:
                    type: object
                    properties:
                      canRemoveCertificates:
                        type: boolean
                        default: true
                      includeRootCa:
                        type: boolean
                        default: false
                      preserveItemOnRenewal:
                        type: boolean
                        default: true
                      healthCheckCommand:
                        type: string
                        maxLength: 8192
                        nullable: true
                      postSyncCommand:
                        type: string
                        maxLength: 8192
                        nullable: true
                      certificateNameSchema:
                        type: string
                        minLength: 1
                    required:
                      - certificateNameSchema
                    additionalProperties: false
                  subscriberId:
                    type: string
                    format: uuid
                    nullable: true
                  connectionId:
                    type: string
                    format: uuid
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  syncStatus:
                    type: string
                    nullable: true
                  lastSyncedAt:
                    type: string
                    format: date-time
                    nullable: true
                  lastHealthCheckRanAt:
                    type: string
                    format: date-time
                    nullable: true
                  lastHealthCheckStatus:
                    type: string
                    enum:
                      - pending
                      - running
                      - succeeded
                      - failed
                    nullable: true
                  lastHealthCheckMessage:
                    type: string
                    nullable: true
                  filters:
                    type: object
                    properties:
                      profileIds:
                        type: array
                        items:
                          type: string
                          format: uuid
                      certificateOrderIds:
                        type: array
                        items:
                          type: string
                          format: uuid
                      metadata:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                            value:
                              type: string
                          required:
                            - key
                          additionalProperties: false
                    additionalProperties: false
                    nullable: true
                    description: >-
                      Which of the Application's certificates this sync holds. A
                      certificate must match every field that is set, and a sync
                      with no filters holds nothing.
                required:
                  - id
                  - name
                  - destination
                  - isAutoSyncEnabled
                  - destinationConfig
                  - syncOptions
                  - connectionId
                  - createdAt
                  - updatedAt
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 400
                  message:
                    type: string
                  error:
                    type: string
                  details: {}
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 401
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 403
                  message:
                    type: string
                  details: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 404
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 422
                  message: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 500
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.