Skip to content

Commit

Permalink
Automated commit 'ISCCOMPLI-303: API doc for v3 delete campaign templ…
Browse files Browse the repository at this point in the history
…ate API (#1437)

* latha/ISCCOMPLI-303: API doc for v3 delete campaign template API

* ISCCOMPLI-303: Added deprecated tag for beta endpoint

* ISCCOMPLI-303: Resolved PR comments

* ISCCOMPLI-303: Resolved PR comments' by github action: 6670466164
  • Loading branch information
tyler-mairose-sp committed Oct 27, 2023
1 parent 8fc822a commit aac1041
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
3 changes: 2 additions & 1 deletion idn/beta/paths/campaign-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ delete:
- Certification Campaigns
summary: Delete a Campaign Template
description: Deletes a campaign template by ID.
deprecated: true
security:
- UserContextAuth: [ idn:campaign-template:delete ]
parameters:
Expand All @@ -131,7 +132,7 @@ delete:
responses:
'204':
$ref: '../../v3/responses/204.yaml'
description: The Source was successfully deleted.
description: The campaign template was successfully deleted.
'400':
$ref: '../../v3/responses/400.yaml'
'404':
Expand Down
32 changes: 32 additions & 0 deletions idn/v3/paths/campaign-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,37 @@ get:
$ref: '../responses/404.yaml'
'429':
$ref: '../responses/429.yaml'
'500':
$ref: '../responses/500.yaml'
delete:
operationId: deleteCampaignTemplate
tags:
- Certification Campaigns
summary: Delete a Campaign Template
description: Deletes a campaign template by ID.
security:
- UserContextAuth: [ idn:campaign-template:delete ]
parameters:
- in: path
name: id
schema:
type: string
required: true
description: The ID of the campaign template being deleted.
example: 2c9180835d191a86015d28455b4a2329
responses:
'204':
$ref: '../responses/204.yaml'
description: The campaign template was successfully deleted.
'400':
$ref: '../responses/400.yaml'
'404':
$ref: '../responses/404.yaml'
'401':
$ref: '../responses/401.yaml'
'403':
$ref: '../responses/403.yaml'
'429':
$ref: '../responses/429.yaml'
'500':
$ref: '../responses/500.yaml'

0 comments on commit aac1041

Please sign in to comment.