Menu
Update Datasource
Update datasource
PUT
/v1/spaces/{space_id}/datasources/{datasource_id}Use it in a workflow
- Add a step and choose the Storyblok connector.
- Pick the Update Datasource action (under Datasources).
- Fill in the fields below, then reference the result from later steps as
{{updateDatasource.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"datasource": {
"name": "string",
"slug": "string"
}
}
Response
Returns 200 with an object. Read it in later steps with {{updateDatasource.response.data.<field>}}.
{
"datasource": {}
}
Need more? See the Storyblok guide for connection setup and behaviour shared by every action.
Was this page helpful?