DELETE
/
datasets
/
name
/
{dataset_name}
curl --request DELETE \
  --url https://api.promptlayer.com/datasets/name/{dataset_name} \
  --header 'X-API-KEY: <x-api-key>'
{
  "success": true,
  "message": "<string>"
}

This endpoint deletes all datasets with the specified name within the workspace associated with the provided API key.

Headers

X-API-KEY
string
required

API key to authorize the operation.

Path Parameters

dataset_name
string
required

Name of the dataset to delete.

Response

200 - application/json
success
boolean
required
message
string
required