Skip to main content
POST
/
v1
/
uploads
/
{namespace}
/
{table_name}
/
clear
curl --request POST \
  --url https://api.dune.com/api/v1/uploads/my_user/interest_rates/clear \
  --header 'X-DUNE-API-KEY: <x-dune-api-key>'
{
  "message": "<string>"
}
The Clear endpoint removes all the data in the specified table, but does not delete the table.
Migrating from the old API? See the Migration Guide for help updating your code.
curl --request POST \
  --url https://api.dune.com/api/v1/uploads/my_user/interest_rates/clear \
  --header 'X-DUNE-API-KEY: <x-dune-api-key>'

Headers

X-Dune-Api-Key
string
required

API Key for the service

Path Parameters

namespace
string
required

The namespace of the table to clear

table_name
string
required

The table name of the table to clear

Query Parameters

api_key
string

Alternative to using the X-Dune-Api-Key header

Response

OK

message
string