Update a parser
import requests
url = "https://{FUSION HOST}/api/parsers/{id}"
payload = {}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){}Update a parser
deprecated
The request is a JSON body containing the parser’s updated attributes. All attributes are required, including those not being updated. Use GET to fetch the current attributes to edit and submit as the body of this request.
PUT
/
parsers
/
{id}
Update a parser
import requests
url = "https://{FUSION HOST}/api/parsers/{id}"
payload = {}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){}Authorizations
Basic authAPI key
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Headers
Optional tag to match.
Path Parameters
The parser ID
Query Parameters
The app to which this object belongs, as app:SomeApp. If the object is not part of this app, the request fails. Other comma-separated contexts in the context parameter are allowed but ignored.
Body
application/json
Response
200 - */*
OK
Was this page helpful?
⌘I