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.

DELETE

/workspaces/{workspaceId}/models/{modelId}/files/{fileId}

ParameterDescription
workspaceId
  • Required
  • Type: string
  • Description: The workspace ID
  • Example: 8a8b8c8d8e8f8g8i
modelId
  • Required
  • Type: string
  • Description: The model ID
  • Example: 75A40874E6B64FA3AE0743278996850F
fileId
  • Required
  • Type: number
  • Description: The file ID
  • Example: 113000000002

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 204

View these endpoints for more information on retrieving model actions:

  • List model actions
  • Retrieve metadata for model action