Skip to main content
POST
/
data
/
{username}
/
{namespace}
/
{datasetName}
/
clear
Clear all data for a dataset
curl --request POST \
  --url https://api.datalinks.com/api/v1/data/{username}/{namespace}/{datasetName}/clear \
  --header 'Authorization: Bearer <token>'
{
  "error_code": "UNAUTHORIZED",
  "message": "Missing authentication token",
  "error_message": "",
  "sub_errors": [
    {
      "code": "<string>",
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>.

Path Parameters

namespace
string
required

Namespace for the dataset.

datasetName
string
required

Name of the dataset.

username
string
required

The username associated with the request.

Response

Removes all data and links from the dataset.