Update workflow status

Request

PATCH /v2/workflows/20 HTTP/1.1
Authorization: Bearer oauth_token
Content-Type: application/json; charset=UTF-8

{
  "value" : "active",
  "op" : "replace",
  "path" : "/status"
}

Request fields

Path Type Required Description
op String Y Patch operation, only replace is supported for this endpoint at the moment
value String Y Indicating status you wish to change the workflow to have, valid values are active
inactive
path String Y Path to change entity, one of /status

Response

HTTP/1.1 204 No Content