
DELETE
Clean up test data through your API
DELETE calls an HTTP endpoint with the DELETE method and stores the response for later steps. Add headers for tokens and API keys, and set the status codes you expect.
Use it to keep environments tidy:
Removing records created earlier in the Flow
Tearing down resources after a UI journey
Testing delete endpoints directly
DELETE pairs with POST, which creates the data, and GET to confirm it is gone. Assert the response with Check JSON Value, and switch between PUT and PATCH on the same step.
