Files
nexus/knowledgebase/csd-wiki/ICSD/How-to-disable-Aviator_686073812.md
2026-04-18 17:09:43 +08:00

37 lines
1.7 KiB
Markdown

# How-to-disable-Aviator_686073812
## When to use
Trial tenant finishes trial or customer unsubscribes Aviator service.
**Note: Data in Aviator will not be removed.**
## Steps
1. Login into SMAX as Tenant admin
2. Changes **Mode** in **AI Studio→Virtual Agent-->Configurations** to **Classic** and click **Save**, refer to: [https://docs.microfocus.com/doc/ESM/SaaS/EnableAviator#Enable\_the\_Aviator\_mode](https://docs.microfocus.com/doc/ESM/SaaS/EnableAviator#Enable_the_Aviator_mode)
3. (Optional) Click **Train** in **AI Studio→ Virtual Agent→Intents** if there are any intents
4. Call API to turn off Aviator
```
SMAX_HOST=<FQDN>
TENANT_ID=<TENANT ID>
BO_INT_ADMIN=bo-integration@dummy.com
BO_INT_ADMIN_PWD=<bo-integration-pwd>
SMAX_AUTH_TOKEN=$(curl -ks "https://${SMAX_HOST}/auth/authentication-endpoint/authenticate/token" -H 'Content-Type: application/json' -d '{
"login": "'"${BO_INT_ADMIN}"'",
"password": "'"${BO_INT_ADMIN_PWD}"'"
}')
echo "SMAX_AUTH_TOKEN=${SMAX_AUTH_TOKEN}"
SMAX_TENANT_URL=https://${SMAX_HOST}/rest/${TENANT_ID}/
curl -sk -X PUT "${SMAX_TENANT_URL}common-settings/setting/OT_AI_ENABLED" --cookie "SMAX_AUTH_TOKEN=${SMAX_AUTH_TOKEN};" -H 'Content-Type: application/json' -d '{"value": false}'
SAVED_TOGGLE=$(curl -sk "${SMAX_TENANT_URL}common-settings/setting/OT_AI_ENABLED" --cookie "SMAX_AUTH_TOKEN=${SMAX_AUTH_TOKEN};")
echo " "
echo "OT_AI_ENABLED=${SAVED_TOGGLE}"
```
5. Tenant admin validates the change
Click **AI Studio→ Aviator Models**, there should be a message: Aviator is not activated in your tenant.![](attachments/686073812/686073818.png)
## Attachments:
[image-2025-1-21\_14-2-54.png](attachments/686073812/686073818.png) (image/png)