cURL
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>" }
Archive a dataset (soft delete).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Dataset archived