diff --git a/idn/v3/paths/campaign-filter.yaml b/idn/v3/paths/campaign-filter.yaml index 3bb48147..0bd5c2ba 100644 --- a/idn/v3/paths/campaign-filter.yaml +++ b/idn/v3/paths/campaign-filter.yaml @@ -34,5 +34,46 @@ get: $ref: '../responses/404.yaml' '429': $ref: '../responses/429.yaml' + '500': + $ref: '../responses/500.yaml' +post: + operationId: updateCampaignFilter + tags: + - Certification Campaign Filters + summary: Updates a Campaign Filter + description: >- + Updates an existing campaign filter using the filter's ID. + security: + - UserContextAuth: [ idn:campaign-filter:update ] + parameters: + - in: path + name: filterId + schema: + type: string + example: e9f9a1397b842fd5a65842087040d3ac + required: true + description: The ID of the campaign filter being modified. + requestBody: + required: true + description: A campaign filter details with updated field values. + content: + application/json: + schema: + $ref: '../schemas/CampaignFilterDetails.yaml' + responses: + '200': + description: Created successfully. + content: + application/json: + schema: + $ref: '../schemas/CampaignFilterDetails.yaml' + '400': + $ref: '../responses/400.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