Delete query rewrites
import requests
url = "https://{FUSION HOST}/api/query-rewrite/publish"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.delete(url, headers=headers)
print(response.text)"<string>"Delete query rewrites
Delete un-deployed query rewrites.
DELETE
/
query-rewrite
/
publish
Delete query rewrites
import requests
url = "https://{FUSION HOST}/api/query-rewrite/publish"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.delete(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.
Query Parameters
The app to which this object belongs, as app:SomeApp. If the app doesn't exist, the request fails. Other comma-separated contexts in the context parameter are allowed but ignored.
The edit session ID associated with this request. Equivalent to a Fusion username.
Response
200 - application/octet-stream
OK
The response is of type string.
Was this page helpful?
⌘I