Const
Performs an HTTP DELETE request to the specified URL.
Operation data with response (parsed JSON or empty) and status (HTTP status code)
response
status
const result = await httpDelete({ url: 'https://api.example.com/users/123', headers: { 'Authorization': 'Bearer token' }});// result.response = {} or null// result.status = 204 Copy
const result = await httpDelete({ url: 'https://api.example.com/users/123', headers: { 'Authorization': 'Bearer token' }});// result.response = {} or null// result.status = 204
Performs an HTTP DELETE request to the specified URL.