Refresh a subscription
import requests
url = "https://{FUSION HOST}/api/subscriptions/{id}/refresh"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.put(url, headers=headers)
print(response.text)"<string>"Refresh a subscription
When changes are made to a subscription, the subscription needs to be refreshed (reloaded). A Fusion restart refreshes all subscriptions.
PUT
/
subscriptions
/
{id}
/
refresh
Refresh a subscription
import requests
url = "https://{FUSION HOST}/api/subscriptions/{id}/refresh"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.put(url, headers=headers)
print(response.text)"<string>"Authorizations
Basic authAPI key
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The subscription ID
Query Parameters
The action to apply when refreshing the subscription. This is currently either start or stop.
Response
200 - application/json
OK
The response is of type string.
Was this page helpful?
⌘I