Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Context Definition Upgrade (PATCH)

Upgrade a context definition. Once an extended definition is created from a base standard definition, use this API to reflect any updates made to the base standard definition in the extended definition.
Resource
1/connect/context-definitions/upgrades
Example for PATCH
1https://yourInstance.salesforce.com/services/data/v64.0/connect/context-definitions/upgrades
Available version
64.0
HTTP methods
PATCH
Request body for PATCH
JSON example
1{
2  "contextDefinitions": [
3    {
4      "contextDefinitionId": "11Oxx0000006PfZEAU",
5      "upgradeMode": "Sync"
6    }
7  ]
8}
Properties
Name Type Description Required or Optional Available Version
contextDefinitionId String ID of this context definition to be upgraded. Required 64.0
upgradeMode String The upgrade mode enum. Possible values are:
  • Sync
  • Preview
  • OverrideThe default value is Sync.
Optional 64.0
Response body for PATCH
Context Definition Information