How it works...

You may need to reauthenticate if you get a status of 403 Forbidden and the following returned:

<?xml version="1.0" encoding="UTF-8"?><imdata totalCount="1"> <error code="403" text="Token was invalid (Error: Token timeout)"/></imdata>

If this is the case, then you can repeat commands from the list on the left-hand side.

If all worked well, in the result, you should get a status of 200 OK and the following code:

<?xml version="1.0" encoding="UTF-8"?><imdata totalCount="0"></imdata>

Here is the tenant from the object browser:

Now that we have a tenant, let's delete it!

Get Cisco ACI Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.