Extreme API with Python

Table Of Contents
Extreme API with Python
Page | 131
Part no.9036931-00 Rev AA February 2021
To stop the webhook, send a DELETE to the API endpoint, and specify the correct subscription ID. You
can also list and modify all your webhooks.
This example shows how to list your webhooks:
import requests
import os
import sys
baseURL = "HTTPS://ie.extremecloudiq.com/"
clientSecret = os.environ.get('clientSecret')
clientId = os.environ.get('clientId')
redirectURI = 'HTTPS://foo.com'
authToken = os.environ.get('authToken')
ownerID = os.environ.get('ownerID')
requestHeaders = { 'X-AH-API-CLIENT-SECRET': clientSecret,
'X-AH-API-CLIENT-ID': clientId,
'X-AH-API-CLIENT-REDIRECT-URI': 'HTTPS://foo.com',
'Authorization': authToken