Delete tenant in docker swarm environment
search cancel

Delete tenant in docker swarm environment

book

Article ID: 248308

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

Hello,

I need to delete a tenant from a portal. I found this documentation

https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-developer-portal/5-1/install-configure-and-upgrade/post-installation-tasks/portal-multi-tenancy.html

but I can’t make it work . the ports seems to be wrong 

Environment

Release : 5.1

Component : API PORTAL

Resolution

To list the tenants run from the portal install directory (/opt/apim-portal-5.1-final) .

curl --request GET  "https://apim-ssg.portaldomain:9443/provision/tenants" --cert ./certs/apim.pem --key  ./certs/apim.pem -kv 

to delete a tenant :

curl --request DELETE  "https://apim-ssg.portaldomain:9443/provision/tenants/<tenantid>" --cert ./certs/apim.pem --key  ./certs/apim.pem -kv