API Testing · Junior · Question 39 of 75

What should happen when you DELETE the same resource twice?

Show the answer

Correct answer: The second call changes nothing; often it returns 404 or 204

Explanation

The resource stays deleted, which is what idempotency means. Testers check the API documents and behaves consistently.

Further reading

Problem with a question

API Testing · Junior · question 39

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz