Forum Discussion
Deleting AS3 application only (not entire tenant)
Hi,
Yes, it is possible to delete a specific AS3 (Application Services 3) application within a tenant using the FAST (F5 Application Services Templates) template. Here's a general outline of the process:
Identify the name or identifier of the AS3 application you want to delete. This information is typically defined in the AS3 declaration or template you used to deploy the application.
Access the management interface or command-line interface (CLI) of your F5 device or controller.
Use the appropriate command or API endpoint to delete the AS3 application. The exact method may vary depending on the version of AS3 and the F5 device or controller you are using.
If you're using the REST API, you can send a DELETE request to the AS3 API endpoint corresponding to the specific application. The API endpoint typically follows the pattern: /mgmt/shared/appsvcs/declare/<tenant>/<app_id>, where <tenant> is the name of the tenant and <app_id> is the identifier or name of the AS3 application.
If you're using the CLI, you may need to use commands specific to your F5 device or controller. Consult the documentation or user guide for the appropriate command syntax. Generally, you would use a command like delete as3 declaration <tenant> <app_id> or something similar.
It's important to note that the exact steps may differ depending on your specific F5 device, version, and configuration. It's always recommended to consult the F5 documentation or reach out to F5 support for accurate instructions tailored to your environment.
(Note: edited Leslie_Hubertus - I removed spam link and ban user, but am leaving the post up for the info)
Hi and thanks for quick reply,
Created application with sending below body to endpoint https://{{bigip-dev_mgmt}}/mgmt/shared/fast/applications
Recived back:
- Nikoolayy1May 15, 2023MVP
Are all the applications in the same declaration? I think that when deploying to a custom tenant that is not /Common then you have to use the same declaration and declare all the applications that will be in that tenant.
After that just remove the application in the declaration and deploy again with the remaining applications as AS3 interpreter on the F5 device knows to implement only the declaration changes.
AS3 Configmap: Multiple Apps in Single Partition - Multiple Virtual Addresses
https://f5-cis-opsguide.readthedocs.io/en/latest/class2/module5/module5.html
The delete method for me is used to delete tenants or all the AS3 data as shown in:
https://community.f5.com/t5/codeshare/deleting-an-as3-tenant/ta-p/305813
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com