PUT
/
v1
/
workflow-overrides
/
{overrideId}
curl --request PUT \
  --url https://api.novu.co/v1/workflow-overrides/{overrideId} \
  --header 'Content-Type: application/json' \
  --data '{
  "active": true,
  "preferenceSettings": {
    "email": true,
    "sms": true,
    "in_app": true,
    "chat": true,
    "push": true
  }
}'
{
  "data": {
    "_id": "<string>",
    "_organizationId": "<string>",
    "_environmentId": "<string>",
    "_workflowId": "<string>",
    "_tenantId": "<string>",
    "active": true,
    "preferenceSettings": {
      "email": true,
      "sms": true,
      "in_app": true,
      "chat": true,
      "push": true
    },
    "deleted": true,
    "deletedAt": "<string>",
    "deletedBy": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>"
  }
}

Enter your API key in the Authorization field like the example shown below:

E.g ApiKey 18d2e625f05d80e

Path Parameters

overrideId
string
required

Body

application/json
active
boolean
preferenceSettings
object

Response

200 - application/json
data
object