You can use this API to automate the removal of specific items from a list using the Delete from List Using Selection functionality in Anaplan.
The steps to perform a delete action are:
- Get a list of delete actions.
GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/actions
- Start the delete action.
POST https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/actions/{actionID}/tasks
- Monitor the delete task.
GET https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/actions/{actionID}/tasks/{taskID}