-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Automated commit 'IDNWAIMEA-11766: campaign delete v3 api spec (#1392…
…)' by github action: 6020953654
- Loading branch information
1 parent
7821b02
commit deb80a8
Showing
4 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
post: | ||
operationId: deleteCampaigns | ||
tags: | ||
- Certification Campaigns | ||
summary: Deletes Campaigns | ||
description: >- | ||
Deletes campaigns whose Ids are specified in the provided list of campaign Ids. | ||
Authorized callers must be an ORG_ADMIN or a CERT_ADMIN. | ||
security: | ||
- oauth2: [idn:campaign:delete] | ||
requestBody: | ||
description: The ids of the campaigns to delete. | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../schemas/CampaignsDeleteRequest.yaml' | ||
|
||
responses: | ||
'202': | ||
$ref: '../responses/202.yaml' | ||
'400': | ||
$ref: '../responses/400.yaml' | ||
'401': | ||
$ref: '../responses/401.yaml' | ||
'403': | ||
$ref: '../responses/403.yaml' | ||
'404': | ||
$ref: '../responses/404.yaml' | ||
'429': | ||
$ref: '../responses/429.yaml' | ||
'500': | ||
$ref: '../responses/500.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
type : object | ||
properties: | ||
ids: | ||
description: The ids of the campaigns to delete | ||
type: array | ||
items: | ||
type: string | ||
example: | ||
["2c9180887335cee10173490db1776c26", "2c9180836a712436016a7125a90c0021"] |