Manage Licenses
API to manage the license file by Avi Cloud Console in disconnected mode. Please get the license file from Avi Cloud Console. All the earlier licenses will be removed and only the licenses from the given license file will be in effect after this API call.
Action that needs to be taken on the license file. Supported action is 'import'
Multipart file with license details by Avi Cloud Console.
{
"file": "string",
"secret_key": "string"
}
Multipart file with licenses. If secret_key is provided, this file is treated as encrypted.
Optional. If provided, the file is treated as an encrypted license file that will be decrypted using this key.
Licenses are saved successfully.
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
unexpected error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: multipart/form-data' -d '{}' https://{api_host}/licensing/licenses