Update a workflow. A content change creates a new draft version (workflows are immutable); an update whose content matches the current version is a no-op that returns the current version unchanged.

put/v1/workflows/{id}

Request

  • Base URL
    https://api.b3os.org (the document declares no server; this is the origin it was published from)
  • URL
    https://api.b3os.org/v1/workflows/{id}
  • Auth
    none declared

Path parameters

idstring required

Workflow ID

Request body

object required
OR

Response

OK

codeinteger
messagestring
requestIdstring

Example response

{
  "code": 200,
  "message": "success",
  "requestId": "abc-123"
}

Changes

    • warning

      added the new airwallex-event enum value to the / response property for the response status