younifyd
Menu

Update Datasource Entry

Update datasource entry

PUT/v1/spaces/{space_id}/datasource_entries/{datasource_entry_id}

Use it in a workflow

  1. Add a step and choose the Storyblok connector.
  2. Pick the Update Datasource Entry action (under Datasource Entries).
  3. Fill in the fields below, then reference the result from later steps as {{updateDatasourceEntry.response.data}}.

Request

Path parameters

space_idintegerrequired

Numeric ID of the space.

datasource_entry_idintegerrequired

Numeric ID of the datasource entry.

Request body

Enter the body as JSON in the step's Body field.

datasource_entryobjectrequired
namestring
valuestring
dimension_valuestring
dimension_idinteger

Linked dimension ID; required when setting a dimension_value.

json
{
  "datasource_entry": {
    "name": "string",
    "value": "string",
    "dimension_value": "string"
  },
  "dimension_id": 0
}

Response

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

datasource_entryobject
json
{
  "datasource_entry": {}
}

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

Update Datasource Entry — Storyblok — Documentation