File tree 1 file changed +73
-7
lines changed 1 file changed +73
-7
lines changed Original file line number Diff line number Diff line change 300
300
}
301
301
}
302
302
}
303
+ },
304
+ "delete" : {
305
+ "tags" : [
306
+ " campaigns"
307
+ ],
308
+ "summary" : " Delete campaign by id." ,
309
+ "description" : " Delete campaign/message by id." ,
310
+ "operationId" : " 444811ab8b55fbdfb55fb281d02e45ef" ,
311
+ "parameters" : [
312
+ {
313
+ "name" : " session" ,
314
+ "in" : " header" ,
315
+ "description" : " Session ID obtained from authentication" ,
316
+ "required" : true ,
317
+ "schema" : {
318
+ "type" : " string"
319
+ }
320
+ },
321
+ {
322
+ "name" : " messageId" ,
323
+ "in" : " path" ,
324
+ "description" : " message ID" ,
325
+ "required" : true ,
326
+ "schema" : {
327
+ "type" : " string"
328
+ }
329
+ }
330
+ ],
331
+ "responses" : {
332
+ "200" : {
333
+ "description" : " Success" ,
334
+ "content" : {
335
+ "application/json" : {
336
+ "schema" : {
337
+ "$ref" : " #/components/schemas/Message"
338
+ }
339
+ }
340
+ }
341
+ },
342
+ "403" : {
343
+ "description" : " Failure" ,
344
+ "content" : {
345
+ "application/json" : {
346
+ "schema" : {
347
+ "$ref" : " #/components/schemas/UnauthorizedResponse"
348
+ }
349
+ }
350
+ }
351
+ },
352
+ "404" : {
353
+ "description" : " Failure" ,
354
+ "content" : {
355
+ "application/json" : {
356
+ "schema" : {
357
+ "$ref" : " #/components/schemas/NotFoundErrorResponse"
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
303
363
}
304
364
},
305
365
"/lists" : {
600
660
"content" : {
601
661
"application/json" : {
602
662
"schema" : {
603
- "properties" : {
604
- "message" : {
605
- "type" : " string" ,
606
- "example" : " There is no session with that ID."
607
- }
608
- },
609
- "type" : " object"
663
+ "$ref" : " #/components/schemas/NotFoundErrorResponse"
610
664
}
611
665
}
612
666
}
1697
1751
},
1698
1752
"type" : " object"
1699
1753
},
1754
+ "NotFoundErrorResponse" : {
1755
+ "required" : [
1756
+ " message"
1757
+ ],
1758
+ "properties" : {
1759
+ "message" : {
1760
+ "type" : " string" ,
1761
+ "example" : " There is no entity with that ID."
1762
+ }
1763
+ },
1764
+ "type" : " object"
1765
+ },
1700
1766
"SubscriberList" : {
1701
1767
"properties" : {
1702
1768
"id" : {
You can’t perform that action at this time.
0 commit comments