latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

snapshots

Update the specified snapshot for the defined step in a flow

You have to be a member of the workspace’s scope, where the specified flow is located and have workspaces.flow.edit permission. Notice It’s forbidden to edit snapshot for step, that does not exist in flow and edit snapshot for step, if snapshot already exists.

patch/flows/{flow_id}/snapshots/{step_id}

Path parameters

flow_idstring required

Flow identifier

step_idstring required

Step identifier

Request body

Example request

{
  "data": {
    "id": "step_1"
  }
}

Response

OK

metaobject required

Example response

{
  "data": {
    "id": "step_1",
    "links": {
      "self": "/v2/flows/5b4f337bff4304610483ba67/snapshots/step_1"
    }
  }
}