diff --git a/idn/beta/paths/campaign-template.yaml b/idn/beta/paths/campaign-template.yaml index 7aeab30c..a9ab8b84 100644 --- a/idn/beta/paths/campaign-template.yaml +++ b/idn/beta/paths/campaign-template.yaml @@ -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: @@ -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': diff --git a/idn/v3/paths/campaign-template.yaml b/idn/v3/paths/campaign-template.yaml index c698739d..fd6b28b4 100644 --- a/idn/v3/paths/campaign-template.yaml +++ b/idn/v3/paths/campaign-template.yaml @@ -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' \ No newline at end of file