Search code examples
autodesk-forgeautodesk-designautomation

Why is the DELETE WorkItems endpoint of the v2 Design Automation API apparently non-existent?


I am trying to delete a WorkItem using forge-api-nodejs-client.

Here's my code:

WorkItemsApi.deleteWorkItem(workItemId, oAuthTwoLegged, oAuthTwoLegged.getCredentials());

I get a 404 response telling me that the requested resource does not exist.

I've tried the endpoint using curl, and Postman, and I'm pretty sure my requests are formatted correctly. I've checked the API Health Dashboard and it all looks good.

Is this endpoint still a thing?


Solution

  • The V2 API does not have a DELETE workitems/{id} action. The V3 API has this.