Replace a resource's links
import requests
url = "https://{FUSION HOST}/api/links/replace"
payload = [
{
"subject": "<string>",
"object": "<string>"
}
]
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)This response has no body data.Replace the links for the specified resource.
POST
/
links
/
replace
Replace a resource's links
import requests
url = "https://{FUSION HOST}/api/links/replace"
payload = [
{
"subject": "<string>",
"object": "<string>"
}
]
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)This response has no body data.Query Parameters
Resource to replace links for.
Body
application/json
JSON-formatted list of link definitions.
Response
200 - undefined
Was this page helpful?
⌘I