younifyd
Menu

Delete Dataset

Delete a dataset

DELETE/projects/{projectId}/datasets/{name}

Use it in a workflow

  1. Add a step and choose the Sanity connector.
  2. Pick the Delete Dataset action (under Projects).
  3. Fill in the fields below, then reference the result from later steps as {{deleteDataset.response.data}}.

Request

Path parameters

projectIdstringrequired
namestringrequired

Response

Returns 200 with an object. Read it in later steps with {{deleteDataset.response.data.<field>}}.

deletedboolean
json
{
  "deleted": false
}

Need more? See the Sanity guide for connection setup and behaviour shared by every action.