AVI Networks Serviceenginepolicy API

The Serviceenginepolicy API from AVI Networks — 2 operation(s) for serviceenginepolicy.

GitHub OpenAPI

Operations 6

PUT /serviceenginepolicy/{uuid} Replace serviceenginepolicy by uuid #
GET /serviceenginepolicy/{uuid} Get serviceenginepolicy by uuid #
PATCH /serviceenginepolicy/{uuid} Update serviceenginepolicy by uuid #
DELETE /serviceenginepolicy/{uuid} Delete serviceenginepolicy by uuid #
POST /serviceenginepolicy Create serviceenginepolicy #
GET /serviceenginepolicy Get serviceenginepolicy #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/avi-networks:avi-networks-serviceenginepolicy-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

avi-networks-serviceenginepolicy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Avi Networks Serviceenginepolicy API
  contact:
    url: https://avinetworks.com/contact-us
    name: Avi Networks Inc.
    email: support@avinetworks.com
  version: '1.0'
  description: 'Operations tagged Serviceenginepolicy across 2 of this provider''s published API definitions: ServiceEnginePolicy.json, avi-networks-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api
tags:
- name: Serviceenginepolicy
paths:
  /serviceenginepolicy/{uuid}:
    put:
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceEnginePolicy'
        '401':
          description: log in failed
      parameters:
      - required: false
        description: object name
        in: query
        name: name
        schema:
          type: string
      - required: false
        description: Avi Tenant Header
        in: header
        name: X-Avi-Tenant
        schema:
          type: string
      - required: false
        description: Avi Tenant Header UUID
        in: header
        name: X-Avi-Tenant-UUID
        schema:
          type: string
      - required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        in: header
        name: X-Avi-Version
        schema:
          type: string
      - required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        in: header
        name: X-CSRFToken
        schema:
          type: string
      - required: true
        description: UUID of the object to fetch
        in: path
        name: uuid
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceEnginePolicy'
        description: ServiceEnginePolicy object creation
        required: true
      tags:
      - Serviceenginepolicy
      summary: Replace serviceenginepolicy by uuid
      x-summary-source: derived
      operationId: putServiceenginepolicyByUuid
      x-operation-id-source: derived
    get:
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceEnginePolicy'
        '401':
          description: log in failed
      parameters:
      - required: false
        description: object name
        in: query
        name: name
        schema:
          type: string
      - required: false
        description: Avi Tenant Header
        in: header
        name: X-Avi-Tenant
        schema:
          type: string
      - required: false
        description: Avi Tenant Header UUID
        in: header
        name: X-Avi-Tenant-UUID
        schema:
          type: string
      - required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        in: header
        name: X-Avi-Version
        schema:
          type: string
      - required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        in: header
        name: X-CSRFToken
        schema:
          type: string
      - required: true
        description: UUID of the object to fetch
        in: path
        name: uuid
        schema:
          type: string
      - in: query
        description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
        name: fields
        schema:
          type: string
      - required: false
        description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
        in: query
        name: include_name
        schema:
          type: boolean
      - required: false
        description: Default values are not set.
        in: query
        name: skip_default
        schema:
          type: boolean
      - in: query
        description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
        name: join_subresources
        schema:
          type: string
      tags:
      - Serviceenginepolicy
      summary: Get serviceenginepolicy by uuid
      x-summary-source: derived
      operationId: getServiceenginepolicyByUuid
      x-operation-id-source: derived
    patch:
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceEnginePolicy'
        '401':
          description: log in failed
      parameters:
      - required: false
        description: object name
        in: query
        name: name
        schema:
          type: string
      - required: false
        description: Avi Tenant Header
        in: header
        name: X-Avi-Tenant
        schema:
          type: string
      - required: false
        description: Avi Tenant Header UUID
        in: header
        name: X-Avi-Tenant-UUID
        schema:
          type: string
      - required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        in: header
        name: X-Avi-Version
        schema:
          type: string
      - required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        in: header
        name: X-CSRFToken
        schema:
          type: string
      - required: true
        description: UUID of the object to fetch
        in: path
        name: uuid
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceEnginePolicy'
        description: ServiceEnginePolicy object creation
        required: true
      tags:
      - Serviceenginepolicy
      summary: Update serviceenginepolicy by uuid
      x-summary-source: derived
      operationId: patchServiceenginepolicyByUuid
      x-operation-id-source: derived
    delete:
      security:
      - basicAuth: []
      responses:
        '204':
          description: object deleted
          content:
            application/json:
              schema:
                type: string
        '404':
          description: not found
      parameters:
      - required: false
        description: object name
        in: query
        name: name
        schema:
          type: string
      - required: false
        description: Avi Tenant Header
        in: header
        name: X-Avi-Tenant
        schema:
          type: string
      - required: false
        description: Avi Tenant Header UUID
        in: header
        name: X-Avi-Tenant-UUID
        schema:
          type: string
      - required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        in: header
        name: X-Avi-Version
        schema:
          type: string
      - required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        in: header
        name: X-CSRFToken
        schema:
          type: string
      - required: true
        description: UUID of the object to fetch
        in: path
        name: uuid
        schema:
          type: string
      tags:
      - Serviceenginepolicy
      summary: Delete serviceenginepolicy by uuid
      x-summary-source: derived
      operationId: deleteServiceenginepolicyByUuid
      x-operation-id-source: derived
    servers:
    - url: /api
  /serviceenginepolicy:
    post:
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceEnginePolicy'
        '401':
          description: log in failed
      parameters:
      - required: false
        description: Avi Tenant Header
        in: header
        name: X-Avi-Tenant
        schema:
          type: string
      - required: false
        description: Avi Tenant Header UUID
        in: header
        name: X-Avi-Tenant-UUID
        schema:
          type: string
      - required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        in: header
        name: X-Avi-Version
        schema:
          type: string
      - required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        in: header
        name: X-CSRFToken
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceEnginePolicy'
        description: ServiceEnginePolicy object creation
        required: true
      tags:
      - Serviceenginepolicy
      summary: Create serviceenginepolicy
      x-summary-source: derived
      operationId: postServiceenginepolicy
      x-operation-id-source: derived
    get:
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceEnginePolicyApiResponse'
        '401':
          description: log in failed
      parameters:
      - required: false
        description: object name
        in: query
        name: name
        schema:
          type: string
      - in: query
        description: Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=<obj_type>:<obj_uuid>. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid
        name: refers_to
        schema:
          type: string
      - in: query
        description: Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=<obj_type>:<obj_uuid>. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid
        name: referred_by
        schema:
          type: string
      - in: query
        description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
        name: fields
        schema:
          type: string
      - required: false
        description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
        in: query
        name: include_name
        schema:
          type: boolean
      - required: false
        description: Default values are not set.
        in: query
        name: skip_default
        schema:
          type: boolean
      - in: query
        description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
        name: join_subresources
        schema:
          type: string
      - required: false
        description: Avi Tenant Header
        in: header
        name: X-Avi-Tenant
        schema:
          type: string
      - required: false
        description: Avi Tenant Header UUID
        in: header
        name: X-Avi-Tenant-UUID
        schema:
          type: string
      - required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        in: header
        name: X-Avi-Version
        schema:
          type: string
      - required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        in: header
        name: X-CSRFToken
        schema:
          type: string
      tags:
      - Serviceenginepolicy
      summary: Get serviceenginepolicy
      x-summary-source: derived
      operationId: getServiceenginepolicy
      x-operation-id-source: derived
    servers:
    - url: /api
components:
  schemas:
    ServiceEnginePolicyApiResponse:
      required:
      - count
      - results
      type: object
      properties:
        count:
          type: integer
          format: int32
        results:
          items:
            $ref: '#/components/schemas/ServiceEnginePolicy'
          type: array
    ServiceEnginePolicy:
      required:
      - name
      - se_group_ref
      - vrf_ref
      type: object
      properties:
        _last_modified:
          readOnly: true
          type: string
          description: UNIX time since epoch in microseconds. Units(MICROSECONDS).
        url:
          readOnly: true
          type: string
          description: url
        se_group_ref:
          type: string
          description: Service Engine Group to which the policy is applied. It is a reference to an object of type ServiceEngineGroup. Field introduced in 18.2.3.
        tenant_ref:
          type: string
          description: ' It is a reference to an object of type Tenant. Field introduced in 18.2.3.'
        name:
          type: string
          description: Name of the Service Engine Policy. Field introduced in 18.2.3.
        vrf_ref:
          type: string
          description: VRF context to which the policy is scoped. It is a reference to an object of type VrfContext. Field introduced in 18.2.3.
        nat_policy_ref:
          type: string
          description: Nat policy. It is a reference to an object of type NatPolicy. Field introduced in 18.2.3.
        uuid:
          type: string
          description: UUID of the Service Engine Policy. Field introduced in 18.2.3.
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: basic authentication
x-refined-from:
- ServiceEnginePolicy.json
- avi-networks-openapi.yml