For integration testing on our DEV-Site, we want to delete created work items through REST, so that we keep our site clean and not flood it with work items.
We use a dedicated Service Principal with Project Admin rights for all our REST operations.
When trying to delete the work items we created, the endpoint returns a 404 Resource not found, which is absolutely not what we expect and what should be returned if you ask me.
The documentation does not mention any requirements despite project admin role. I checked the permission scheme and the project role of the service principal account. I even used the built-in permission helper to verify necessary permissions.
For further testing, I tried the same with my personal (org admin) account. Still 404 response.
I would love to implement this feature. Did someone here face the same issues and could guide me?