younifyd
Menu

Assign Tag To Dataset

Assign a tag to a dataset

PUT/projects/{projectId}/datasets/{datasetName}/tags/{tagIdentifier}

Use it in a workflow

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

Request

Path parameters

projectIdstringrequired

The unique ID of the project.

datasetNamestringrequired

The name of the dataset.

tagIdentifierstringrequired

The name of the tag.

Response

Returns 201 with a any. Read it in later steps with {{assignTagToDataset.response.data.<field>}}.

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