Skip to main content
POST
/
links
/
contexts
Update a link's context
import requests

url = "https://{FUSION HOST}/api/links/contexts"

payload = {
    "resources": [
        {
            "type": "APPKIT_APP",
            "id": "<string>",
            "uri": "<string>",
            "canonicalName": "<string>"
        }
    ],
    "contexts": [
        {
            "type": "APPKIT_APP",
            "id": "<string>",
            "uri": "<string>",
            "canonicalName": "<string>"
        }
    ],
    "bypassCache": True
}
headers = {"Content-Type": "application/json"}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
{}

Body

application/json
resources
object[]
contexts
object[]
bypassCache
boolean

Response

200 - application/json

successful operation

{key}
object[]