Delete Context Records Action
Deletes one or more records from a context instance.
This action is available in API version 67.0 and later.
Available in Developer, Enterprise, Professional, and Unlimited editions for Industries clouds where Context Service is enabled.
URI: /services/data/vXX.X/actions/standard/deleteContextRecords
Where XX.X is the latest API version.
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
contextId | string | Required. ID of the context instance from which records are deleted. |
dataPaths | List<String> | Required. A collection of data path objects that identify the records to delete from the context instance. Each object contains a dataPath field whose value is a list of strings representing the hierarchical path from the root to the target record in the context. |
isPermanent​Delete | boolean | Optional. Indicates whether the record is permanently deleted (true) or not (false). The default value is false. |
Use this action to delete one or more records from a context instance. By default, records are soft deleted. To permanently delete the records, set isPermanentDelete to true.
- POST
This sample request is for the Delete Context Records action.
This sample response is for the Delete Context Records action.