The following code uses Stingray's RESTful API to delete a pool. The code is written in Python. This program deletes the "pytest" pool created by the addpool.py example. To delete a resource you do a HTTP DELETE on the URI for the resource. If the delete is successful a 204 HTTP status code will be returned.