Delete a query rewrite
import requests
url = "https://{FUSION HOST}/api/query-rewrite/instances/{id}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.delete(url, headers=headers)
print(response.text)"<string>"Delete a query rewrite
The request specifies the ID of the query rewrite to delete.
DELETE
/
query-rewrite
/
instances
/
{id}
Delete a query rewrite
import requests
url = "https://{FUSION HOST}/api/query-rewrite/instances/{id}"
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.
Path Parameters
The query rewrite ID.
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