AVI Networks Tenant API
The Tenant API from AVI Networks — 2 operation(s) for tenant.
The Tenant API from AVI Networks — 2 operation(s) for tenant.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/avi-networks:avi-networks-tenant-api"
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.
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: 3.2.0
info:
title: Avi Networks Tenant API
version: 32.2.1
contact:
name: Avi Networks Inc.
url: https://avinetworks.com/contact-us
email: support@avinetworks.com
description: 'Operations tagged Tenant across 2 of this provider''s published API definitions: avi_global_spec.json, avi-networks-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api
tags:
- name: Tenant
paths:
/tenant:
get:
tags:
- Tenant
description: /tenant
operationId: GET/tenant
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/TenantApiResponse'
'401':
description: log in failed
summary: GET /tenant
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: GET /tenant
post:
tags:
- Tenant
description: /tenant
operationId: POST/tenant
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/Tenant'
'401':
description: log in failed
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Tenant'
description: Tenant object creation
required: true
summary: POST /tenant
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: POST /tenant
servers:
- url: /api
/tenant/{uuid}:
get:
tags:
- Tenant
description: /tenant/{uuid}/{uuid}
operationId: GET/tenant/{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/Tenant'
'401':
description: log in failed
'404':
description: object not found
summary: GET /tenant/{uuid}
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: GET /tenant/{uuid}
put:
tags:
- Tenant
description: /tenant/{uuid}/{uuid}
operationId: PUT/tenant/{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/Tenant'
'401':
description: log in failed
'404':
description: object not found
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Tenant'
description: Tenant object creation
required: true
summary: PUT /tenant/{uuid}
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: PUT /tenant/{uuid}
patch:
tags:
- Tenant
description: /tenant/{uuid}/{uuid}
operationId: PATCH/tenant/{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/Tenant'
'401':
description: log in failed
'404':
description: object not found
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Tenant'
description: Tenant object creation
required: true
summary: PATCH /tenant/{uuid}
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: PATCH /tenant/{uuid}
delete:
tags:
- Tenant
description: /tenant/{uuid}/{uuid}
operationId: DELETE/tenant/{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 /tenant/{uuid}
x-summary-source: derived
x-operation-id-source: normalized
x-operation-id-original: DELETE /tenant/{uuid}
servers:
- url: /api
components:
schemas:
TenantConfiguration:
type: object
properties:
app_quota:
description: Application quota for the tenant. Field introduced in 32.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
$ref: '#/components/schemas/AppQuotaConfig'
enable_tenant_binding:
description: Enable tenant binding mode for this tenant. When enabled, only explicitly shared objects from admin tenant will be visible. Field introduced in 32.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: boolean
license_quota:
description: License quota for the tenant. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
$ref: '#/components/schemas/QuotaConfig'
se_in_provider_context:
description: Controls the ownership of ServiceEngines. Service Engines can either be exclusively owned by each tenant or owned by the administrator and shared by all tenants. When ServiceEngines are owned by the administrator, each tenant can have either read access or no access to their Service Engines. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: boolean
default: true
tenant_access_to_provider_se:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: boolean
default: true
tenant_vrf:
description: When 'Per Tenant IP Domain' is selected, each tenant gets its own routing domain that is not shared with any other tenant. When 'Share IP Domain across all tenants' is selected, all tenants share the same routing domain. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: boolean
KeyValue:
type: object
required:
- key
properties:
key:
description: Key. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
value:
description: Value. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
QuotaConfig:
type: object
properties:
limit:
description: Maximum license service units allowed for consumption. -1 as Default is maximum value. Allowed values are -1-+65535. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: integer
default: -1
format: int64
reservation:
description: Minimum license service units reserved for consumption. Reservation is not enforced for Tenant/SE Group. Allowed values are 0-65535. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: integer
format: uint64
TenantApiResponse:
type: object
required:
- count
- results
properties:
count:
type: integer
format: int32
results:
type: array
items:
$ref: '#/components/schemas/Tenant'
next:
type: string
Tenant:
type: object
required:
- name
properties:
_last_modified:
description: UNIX time since epoch in microseconds. Units(MICROSECONDS).
readOnly: true
type: string
attrs:
description: Key/value tenant attributes. Field introduced in 30.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
$ref: '#/components/schemas/KeyValue'
config_settings:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
$ref: '#/components/schemas/TenantConfiguration'
created_by:
description: Creator of this tenant. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: string
description:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
enforce_label_group:
description: The referred label groups are enforced on the tenant if this is set to true.If this is set to false, the label groups are suggested for the tenant. Field introduced in 20.1.5. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: boolean
label_group_refs:
description: The label_groups to be enforced on the tenant. This is strictly enforced only if enforce_label_group is set to True. It is a reference to an object of type LabelGroup. Field introduced in 20.1.5. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: array
items:
type: string
local:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: boolean
default: true
name:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
url:
description: url
readOnly: true
type: string
uuid:
description: ' Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.'
type: string
AppQuotaConfig:
type: object
properties:
vs_limit:
description: Maximum number of Virtual Services allowed for this tenant. -1 as Default is maximum value, set to 0 to disallow any VS creation. Allowed values are -1-+65535. Field introduced in 32.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
type: integer
default: -1
format: int32
securitySchemes:
basicAuth:
type: http
scheme: basic
description: basic authentication
x-refined-from:
- avi_global_spec.json
- avi-networks-openapi.yml