You can delete files that you have uploaded using the API.
Note: This only removes private content. Default content and the import data source model object remain.
Method and endpoint
DELETE
/workspaces/{workspaceId}/models/{modelId}/files/{fileId}
Parameters
| Parameter | Description |
workspaceId |
|
modelId |
|
fileId |
|
Curl example
curl -X DELETE \
https://api.anaplan.com/2/0/workspaces/{workspaceId}/models/{modelId}/files/{fileId} \
-H 'authorization: AnaplanAuthToken {anaplan_auth_token}' \
-H 'Content-Type:application/json'
Response
Response 204
Group get model actions
View these endpoints for more information on retrieving model actions:
- List model actions
- Retrieve metadata for model action