DELETE /kv/rest/v1/lists/{key} REST API Endpoint
Path Parameters
key
string
REQUIRED
Loading...
Returns
200 OK
Loading...
Request
curl -X DELETE \ "https://api.quicknode.com/kv/rest/v1/lists/{key}" \ -H "accept: application/json" \ -H "Content-Type: application/json" \ -H "x-api-key: YOUR_API_KEY"
var myHeaders = new Headers(); myHeaders.append('accept', 'application/json'); myHeaders.append('Content-Type', 'application/json'); myHeaders.append('x-api-key', 'YOUR_API_KEY'); // Replace with your actual API key var requestOptions = { method: 'DELETE', headers: myHeaders, redirect: 'follow' }; fetch('https://api.quicknode.com/kv/rest/v1/lists/{key}', requestOptions) .then(response => response.text()) .then(result => console.log(result)) .catch(error => console.log('error', error));
import requests url = "https://api.quicknode.com/kv/rest/v1/lists/{key}" headers = { "accept": "application/json", "Content-Type": "application/json", "x-api-key": "YOUR_API_KEY" # Replace with your actual API key } response = requests.delete(url, headers=headers) print(response.text)
require "uri" require "net/http" require "json" # Set up the URL for the request url = URI("https://api.quicknode.com/kv/rest/v1/lists/{key}") https = Net::HTTP.new(url.host, url.port) https.use_ssl = true request = Net::HTTP::Delete.new(url) request["accept"] = "application/json" request["Content-Type"] = "application/json" request["x-api-key"] = "YOUR_API_KEY" # Replace with your actual API key response = https.request(request) puts response.body
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free