I am not able to delete queues via the Python SDK. It works correctly using the dev tools.
request
queue_id = 'e3890999-8ef6-4d76-ad4e-c83b0fb9155b'
try:
# Delete a queue
api_response = api_instance.delete_queues_queue_id(queue_id, force_delete=True)
pprint(api_response)
except ApiException as e:
print("Exception when calling RoutingApi->delete_queues_queue_id: %s\n" % e)
response
Exception when calling RoutingApi->delete_queues_queue_id: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Date': 'Thu, 06 Oct 2016 14:21:10 GMT', 'Content-Length': '0', 'X-Amz-Cf-Id': '7fKC9cKxliYmlxjq-v5ftl1LkNG0QEzRJJg3hS_NR_1NaG_UWAtkNw==', 'Via': '1.1 0a9f4502819b08c3a7919c963887be2b.cloudfront.net (CloudFront)', 'Connection': 'keep-alive', 'X-Cache': 'Error from cloudfront'})