REST API - DELETE issue

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?

Hi @JanneThiele,

Are you still experiencing the error? If so, can share more detail on how you implemented it and share code snippets to give a better context.

Cheers,
Ian

Hi @ianRagudo,

for testing purposes, I utilized calls through an API client therefore I am not able to provide any code snippets unfortunately.

Cheers,
Janne

Hi @JanneThiele ,

I ran a quick test just now using the Delete issue REST API and got a successful response. I used Postman as client and basic auth (email + API token pair).

Is it safe to assume that you are also using the same REST API?

Cheers,
Ian