ISE Lab: API 5 – Using Python

As ISE is using an API, Python can be used to interact with the API. This allows the use of programmatic logic to create, read, update or delete ISE elements.

Basic GET

I have created a simple GET that will just print the dACLs that ISE has. This is exactly the same API request and response as made in Postman in a previous post. The only difference is that Python is being used to send the request.

Create dACL

Again, this is moving what was already performed in Postman, to Python.
The response for this request is a 201 code only. If the dACL already exists, then a 500 response code is returned.

Leave a Comment

Your email address will not be published. Required fields are marked *