Skip to main content

Upload File

Request

Uploads a license or an initialization file. You can use this API to upload your bootstrap file generated from the Aviatrix controller portal. The response includes the unique ID of the uploaded file.

Security
BearerAuth
Bodymultipart/form-datarequired
deviceManagementTypestring

Device management type, whether SELF-CONFIGURED or EQUINIX-CONFIGURED

Enum:"SELF-CONFIGURED""EQUINIX-CONFIGURED"
Example:"SELF-CONFIGURED"
filestring, (binary)required

A license or a cloud_init file.

Example:"binary_content"
licenseTypestring

Type of license (BYOL-Bring Your Own License)

Value:"BYOL"
Example:"BYOL"
metroCodestringrequired

Two-letter metro code.

Example:"SV"
deviceTypeCodestring(DeviceTypeCode)required

Device type code (e.g., C8000V)

Enum:"C8000V""C8000V-SDWAN""PA-VM""ASAV""CGUARD""FG-VM""MERAKI-VMX""PRISMA-SDWAN""INFOBLOX""AVIATRIX_EDGE"
Example:"C8000V"
processTypestringrequired

Whether you are uploading a license or a cloud_init file. LICENSE or CLOUD_INIT

Enum:"LICENSE""CLOUD_INIT"
Example:"LICENSE"
Payload
{
  "deviceManagementType": "SELF-CONFIGURED",
  "file": "binary_content",
  "licenseType": "BYOL",
  "metroCode": "SV",
  "deviceTypeCode": "C8000V",
  "processType": "LICENSE"
}

Responses

OK

Bodyapplication/json
fileUuidstring

The unique ID of the uploaded file.

Example:"029a0bcd-0b2f-4bc5-b875-b506aa4b9738"
Response
{ "fileUuid": "029a0bcd-0b2f-4bc5-b875-b506aa4b9738" }
Was this page helpful?