No results for

Powered byAlgolia
⚠️ This documentation is outdated. Please visit for the latest k6 documentation.📚

del( url, [body], [params] )

Make a DELETE request.

urlstring / HTTP URLRequest URL (e.g.
body (optional, discouraged)string / object / ArrayBufferRequest body; objects will be x-www-form-urlencoded. This is discouraged, because sending a DELETE request with a body has no defined semantics and may cause some servers to reject it.
params (optional)objectParams object containing additional request parameters.


ResponseHTTP Response object.


import http from 'k6/http';
const url = '';
export default function () {
const params = { headers: { 'X-MyHeader': 'k6test' } };
http.del(url, null, params);