DELETE
Perform a API DELETE request and store the returned value.
DELETE calls an HTTP endpoint with the DELETE method and stores the response for later steps. Use it to remove a resource through an API inside the same Flow as your browser steps.
For a walkthrough of auth Headers, storage names, and JSON asserts, see Test APIs in a Flow.

When to use it
Remove test data created by an earlier POST step.
Tear down a resource after the UI Flow confirms it is no longer needed.
Assert the response with Check JSON Value using the same storage name.
Configure
Basics
URL
Fully qualified URL, or a Value that expands to one
Response Storage Name
Name for the stored response (response by default)
Advanced
Headers
Request headers as JSON (use for Bearer tokens and API keys)
Expected Response Status Codes
Defaults to 2xx. Add specific codes when needed. Responses in the 5xx range fail as errors
Response Object
Body (default), Headers, or Complete
Status on fail
Related
Tags: integration, api, delete, rest
Last updated