> ## 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.

# Delete GCP Certificate Manager PKI Sync

> Delete the specified GCP Certificate Manager PKI Sync.



## OpenAPI

````yaml DELETE /api/v1/cert-manager/syncs/gcp-certificate-manager/{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/gcp-certificate-manager/{pkiSyncId}:
    delete:
      tags:
        - PKI Syncs
      description: Delete the specified GCP Certificate Manager PKI Sync.
      operationId: deleteGcpCertificateManagerPkiSync
      parameters:
        - schema:
            type: string
          in: path
          name: pkiSyncId
          required: true
      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:
                      - gcp-certificate-manager
                  isAutoSyncEnabled:
                    type: boolean
                  destinationConfig:
                    type: object
                    properties:
                      gcpProjectId:
                        type: string
                        minLength: 6
                        maxLength: 30
                      location:
                        type: string
                        minLength: 1
                      certificateMapBinding:
                        type: object
                        properties:
                          certificateMap:
                            type: string
                            minLength: 1
                            maxLength: 63
                          hostname:
                            type: string
                            maxLength: 253
                        required:
                          - certificateMap
                        additionalProperties: false
                      scope:
                        type: string
                        enum:
                          - default
                          - edge-cache
                          - all-regions
                          - client-auth
                        default: default
                    required:
                      - gcpProjectId
                      - location
                    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
                      canImportCertificates:
                        type: boolean
                        enum:
                          - false
                        default: false
                      labels:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                              minLength: 1
                              maxLength: 63
                            value:
                              type: string
                              maxLength: 63
                          required:
                            - key
                            - value
                          additionalProperties: false
                        maxItems: 62
                      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

````