AVI Networks Password Policy API

The Password Policy API from AVI Networks — 2 operation(s) for password policy.

GitHub OpenAPI

Operations 6

GET /passwordpolicy GET /passwordpolicy #
POST /passwordpolicy POST /passwordpolicy #
GET /passwordpolicy/{uuid} GET /passwordpolicy/{uuid} #
PUT /passwordpolicy/{uuid} PUT /passwordpolicy/{uuid} #
PATCH /passwordpolicy/{uuid} PATCH /passwordpolicy/{uuid} #
DELETE /passwordpolicy/{uuid} DELETE /passwordpolicy/{uuid} #

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-password-policy-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-password-policy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Avi Networks Password Policy API
  contact:
    name: Avi Networks Inc.
    url: https://avinetworks.com/contact-us
    email: support@avinetworks.com
  version: '1.0'
  description: 'Operations tagged PasswordPolicy across 2 of this provider''s published API definitions: PasswordPolicy.json, avi-networks-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api
tags:
- name: Password Policy
paths:
  /passwordpolicy:
    get:
      tags:
      - Password Policy
      description: /passwordpolicy
      operationId: GET/passwordpolicy
      parameters:
      - name: name
        in: query
        description: object name
        required: false
        schema:
          type: string
      - name: refers_to
        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
        schema:
          type: string
      - name: referred_by
        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
        schema:
          type: string
      - name: fields
        in: query
        description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
        schema:
          type: string
      - name: include_name
        in: query
        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.
        required: false
        schema:
          type: boolean
      - name: skip_default
        in: query
        description: Default values are not set.
        required: false
        schema:
          type: boolean
      - name: join_subresources
        in: query
        description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
        schema:
          type: string
      - name: X-Avi-Tenant
        in: header
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        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.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        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.
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasswordPolicyApiResponse'
        '401':
          description: log in failed
      summary: GET /passwordpolicy
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: GET /passwordpolicy
    post:
      tags:
      - Password Policy
      description: /passwordpolicy
      operationId: POST/passwordpolicy
      parameters:
      - name: X-Avi-Tenant
        in: header
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        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.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        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.
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasswordPolicy'
        '401':
          description: log in failed
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasswordPolicy'
        description: PasswordPolicy object creation
        required: true
      summary: POST /passwordpolicy
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: POST /passwordpolicy
    servers:
    - url: /api
  /passwordpolicy/{uuid}:
    get:
      tags:
      - Password Policy
      description: /passwordpolicy/{uuid}/{uuid}
      operationId: GET/passwordpolicy/{uuid}
      parameters:
      - name: name
        in: query
        description: object name
        required: false
        schema:
          type: string
      - name: X-Avi-Tenant
        in: header
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        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.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        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.
        schema:
          type: string
      - name: uuid
        in: path
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      - name: fields
        in: query
        description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
        schema:
          type: string
      - name: include_name
        in: query
        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.
        required: false
        schema:
          type: boolean
      - name: skip_default
        in: query
        description: Default values are not set.
        required: false
        schema:
          type: boolean
      - name: join_subresources
        in: query
        description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasswordPolicy'
        '401':
          description: log in failed
        '404':
          description: object not found
      summary: GET /passwordpolicy/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: GET /passwordpolicy/{uuid}
    put:
      tags:
      - Password Policy
      description: /passwordpolicy/{uuid}/{uuid}
      operationId: PUT/passwordpolicy/{uuid}
      parameters:
      - in: query
        name: name
        description: object name
        required: false
        schema:
          type: string
      - in: header
        name: X-Avi-Tenant
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        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.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        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.
        schema:
          type: string
      - in: path
        name: uuid
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasswordPolicy'
        '401':
          description: log in failed
        '404':
          description: object not found
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasswordPolicy'
        description: PasswordPolicy object creation
        required: true
      summary: PUT /passwordpolicy/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: PUT /passwordpolicy/{uuid}
    patch:
      tags:
      - Password Policy
      description: /passwordpolicy/{uuid}/{uuid}
      operationId: PATCH/passwordpolicy/{uuid}
      parameters:
      - in: query
        name: name
        description: object name
        required: false
        schema:
          type: string
      - in: header
        name: X-Avi-Tenant
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        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.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        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.
        schema:
          type: string
      - in: path
        name: uuid
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PasswordPolicy'
        '401':
          description: log in failed
        '404':
          description: object not found
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PasswordPolicy'
        description: PasswordPolicy object creation
        required: true
      summary: PATCH /passwordpolicy/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: PATCH /passwordpolicy/{uuid}
    delete:
      tags:
      - Password Policy
      description: /passwordpolicy/{uuid}/{uuid}
      operationId: DELETE/passwordpolicy/{uuid}
      parameters:
      - in: query
        name: name
        description: object name
        required: false
        schema:
          type: string
      - in: header
        name: X-Avi-Tenant
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        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.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        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.
        schema:
          type: string
      - in: path
        name: uuid
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '204':
          description: object deleted
          content:
            application/json:
              schema:
                type: string
        '404':
          description: object not found
      summary: DELETE /passwordpolicy/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: DELETE /passwordpolicy/{uuid}
    servers:
    - url: /api
components:
  schemas:
    PasswordPolicy:
      type: object
      required:
      - name
      properties:
        _last_modified:
          description: UNIX time since epoch in microseconds. Units(MICROSECONDS).
          readOnly: true
          type: string
        configpb_attributes:
          description: Protobuf versioning for config pbs. Field introduced in 32.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          $ref: '#/components/schemas/ConfigPbAttributes'
        lockout_evaluation_period:
          description: Time window for evaluating failed attempts in seconds. Defaults to 900 seconds. Allowed values are 300-1800. Field introduced in 32.1.1. Unit is SEC. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: integer
          default: 900
          format: uint32
        lockout_max_auth_failures:
          description: Number of failed attempts before account lockout. Defaults to 3. Allowed values are 0-5. Special values are 0- Unlimited login attempts allowed.. Field introduced in 32.1.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: integer
          default: 3
          format: uint32
        lockout_period:
          description: Account lockout duration in seconds. Defaults to 900 seconds. Allowed values are 600-1800. Field introduced in 32.1.1. Unit is SEC. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: integer
          default: 900
          format: uint32
        min_length:
          description: Minimum password length. Defaults to 15 characters. Allowed values are 8-64. Field introduced in 32.1.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: integer
          default: 15
          format: uint32
        min_lowercase:
          description: Minimum number of lowercase characters required. Allowed values are 0-10. Field introduced in 32.1.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: integer
          default: 1
          format: uint32
        min_numeric:
          description: Minimum number of numeric characters required. Allowed values are 0-10. Field introduced in 32.1.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: integer
          default: 1
          format: uint32
        min_special:
          description: Minimum number of special characters required. Allowed values are 0-10. Field introduced in 32.1.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: integer
          default: 1
          format: uint32
        min_uppercase:
          description: Minimum number of uppercase characters required. Allowed values are 0-10. Field introduced in 32.1.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: integer
          default: 1
          format: uint32
        name:
          description: Name of the password policy configuration. Field introduced in 32.1.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: string
        password_expiration_days:
          description: Password expiry period in days. Defaults to 365 days. Allowed values are 30-730. Field introduced in 32.1.1. Unit is DAYS. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: integer
          default: 365
          format: uint32
        password_history:
          description: Number of previous passwords to remember. Defaults to 5. Allowed values are 1-10. Field introduced in 32.1.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: integer
          default: 5
          format: uint32
        tenant_ref:
          description: Tenant ref for the PasswordPolicy. It is a reference to an object of type Tenant. Field introduced in 32.1.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: string
        url:
          description: url
          readOnly: true
          type: string
        uuid:
          description: Unique object identifier of the PasswordPolicy. Field introduced in 32.1.1. Allowed with any value in Enterprise, Enterprise with Cloud Services edition.
          type: string
    PasswordPolicyApiResponse:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          format: int32
        results:
          type: array
          items:
            $ref: '#/components/schemas/PasswordPolicy'
        next:
          type: string
    ConfigPbAttributes:
      type: object
      properties:
        created_by:
          description: Identifies the user type that created the configuration. Nil for non-service users. Enum options - SERVICE_USER. Field introduced in 32.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: string
        version:
          description: Version sequence number that monotonically advances with each configuration update event. Field introduced in 21.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 1
          format: uint32
    ConfigPbAttributes_2:
      type: object
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: basic authentication
x-refined-from:
- PasswordPolicy.json
- avi-networks-openapi.yml