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

# DCF IPS profiles for a VPC

> Retrieve the current list of DCF IPS profile UUIDs for a specified VPC



## OpenAPI

````yaml /openapi/10.0/aviatrix-api.json get /v2.5/api/dcf/ips-profile-vpc/{vpc_id}
openapi: 3.1.0
info:
  title: Aviatrix Controller API
  version: '10.0'
  description: >-
    Aviatrix Controller API — version 10.0. Selected operations with Mintlify
    metadata.
servers: []
security: []
tags:
  - name: policies
    x-group: Policies
  - name: authentication
    x-group: Authentication
  - name: account-management
    x-group: Account Management
  - name: rbac
    x-group: RBAC & Permissions
  - name: gateways
    x-group: Gateways
  - name: transit
    x-group: Transit
  - name: nat
    x-group: NAT
  - name: app-domains
    x-group: SmartGroups
  - name: certificates
    x-group: Certificates
  - name: mitm
    x-group: MITM
  - name: monitoring
    x-group: Monitoring & Diagnostics
  - name: fqdn
    x-group: FQDN
  - name: logging
    x-group: Logging
  - name: vpn
    x-group: UserVPN
  - name: site-to-cloud
    x-group: Site-to-Cloud
  - name: controller
    x-group: Controller
  - name: bgp
    x-group: BGP
  - name: general
    x-group: General
  - name: firenet
    x-group: FireNet
  - name: networking
    x-group: Networking
  - name: tgw
    x-group: AWS TGW
  - name: ips
    x-group: IPS
  - name: saml
    x-group: SAML
paths:
  /v2.5/api/dcf/ips-profile-vpc/{vpc_id}:
    get:
      tags:
        - policies
      summary: Get DCF IPS profiles for a VPC
      description: Retrieve the current list of DCF IPS profile UUIDs for a specified VPC
      operationId: getDcfIpsProfilesVpc
      parameters:
        - description: The VPC ID to retrieve DCF IPS profiles for
          in: path
          name: vpc_id
          required: true
          schema:
            example: vpc-0a1b2c3d4e5f67890
            type: string
        - name: Authorization
          in: header
          required: true
          description: 'Controller ID in the format: cid <CID>.'
          schema:
            type: string
            example: cid <CID>
            default: cid <CID>
          example: cid <CID>
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DcfIpsProfileVpcResponse'
          description: Successfully retrieved DCF IPS profiles for VPC
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DcfIpsProfileNotFoundError'
          description: VPC not found
        default:
          $ref: '#/components/responses/general_response_v25'
      x-codeSamples:
        - lang: curl
          label: cURL
          source: >-
            curl -sk -X GET
            "https://<controller>/v2.5/api/dcf/ips-profile-vpc/{vpc_id}" \
              -H "Authorization: cid <CID>"
        - lang: python
          label: Python
          source: |-
            import requests

            url = "https://<controller>/v2.5/api/dcf/ips-profile-vpc/{vpc_id}"
            headers = {"Authorization": "cid <CID>"}

            response = requests.get(url, headers=headers)
            print(response.text)
        - lang: go
          label: Go
          source: |-
            package main

            import (
              "fmt"
              "net/http"
            )

            func main() {
              req, _ := http.NewRequest("GET", "https://<controller>/v2.5/api/dcf/ips-profile-vpc/{vpc_id}", nil)
              req.Header.Set("Authorization", "cid <CID>")

              client := &http.Client{}
              resp, err := client.Do(req)
              if err != nil {
                panic(err)
              }
              defer resp.Body.Close()

              fmt.Println(resp.Status)
            }
components:
  schemas:
    DcfIpsProfileVpcResponse:
      properties:
        dcf_ips_profiles:
          description: >-
            List of current DCF IPS profile UUIDs. In version 8.2, contains at
            most one profile.
          example:
            - 550e8400-e29b-41d4-a716-446655440001
          items:
            description: DCF IPS profile UUID
            format: uuid
            type: string
          maxItems: 1
          type: array
        vpc_id:
          description: The VPC ID
          example: vpc-0a1b2c3d4e5f67890
          type: string
      type: object
    DcfIpsProfileNotFoundError:
      properties:
        error:
          description: Error message
          example: VPC not found
          type: string
      type: object
    general_response_v25:
      description: A generic API response container for v2.5 style APIs.
      properties:
        message:
          description: A human-readable message.
          type: string
      title: General Response v2.5
      type: object
  responses:
    general_response_v25:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/general_response_v25'
      description: General v2.5 API response schema.

````