Forum Discussion
Deleting an AS3 Tenant
Wanted to share the below method for deleting AS3 tenant's as it wasn't documented . You can use the HTTP delete method; but if an admin misses the tenant name after /declare/ it would wipe out all tenants!
If you POST the below body to the 'https://{{bigip_mgmt}}/mgmt/shared/appsvcs/declare'; as its a blank declaration; AS3 will remove your partition / tenant.
.
{
"class": "AS3",
"action": "deploy",
"declaration": {
"class": "ADC",
"schemaVersion": "3.1.0",
"id": "tenant_name",
"label": "tenant_name_via_AS3",
"remark": "tenant_name_via_AS3",
"CHANGE-ME-TO-TENANT-NAME": {
"class": "Tenant"
}
}
}
3 Replies
Tbh it's documented, but it easily overlooked.
Perfect ! It worked like a charm :)
I can suggest to also add the tenant name in the url endpoint as this way there is even better protection against mistakes.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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