32 lines
404 B
Plaintext
32 lines
404 B
Plaintext
meta {
|
|
name: update notification
|
|
type: http
|
|
seq: 6
|
|
}
|
|
|
|
patch {
|
|
url: {{url}}/api/notification/:id
|
|
body: json
|
|
auth: inherit
|
|
}
|
|
|
|
params:path {
|
|
id: 0399eb2a-39df-48b7-9f1c-d233cec94d2e
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"active" : false,
|
|
"options": [{"prodId": 5}]
|
|
}
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
Passing all as a query param will return all queries active and none active
|
|
}
|