Skip to main content
PUT
/
dataset-archive
Archive Dataset
curl --request PUT \
  --url https://api.promptmetrics.dev/dataset-archive \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "datasetId": "<string>",
  "workspaceId": "<string>"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
datasetId
string
required
workspaceId
string
required

Response

200 - application/json

Dataset archived

message
string