Andrew McEwen
Andrew McEwen

Reputation: 21

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?

Upvotes: 0

Views: 59

Answers (1)

Albert Szilvasy
Albert Szilvasy

Reputation: 611

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

Upvotes: 1

Related Questions