diff --git a/RniAPI.yaml b/RniAPI.yaml index cb0848a0f83e41015a8238ad544d42bdcb3259bb..722310d7bf828d64bab2a8115c29f4a31b1f0a70 100644 --- a/RniAPI.yaml +++ b/RniAPI.yaml @@ -10,7 +10,7 @@ info: url: https://forge.etsi.org/legal-matters version: 2.2.1 servers: -- url: https://localhost/rni/v1 +- url: https://localhost/rni/v2 paths: /queries/rab_info: get: @@ -473,7 +473,30 @@ paths: description: The unique identifier of the subscriptionId. schema: type: string - + delete: + summary: Cancel the existing subscription. + description: The DELETE method is used to cancel the existing subscription. Cancellation can be made by deleting the resource that represents existing subscription. + operationId: SubscriptionsDELETESubscriptionid + tags: + - subscriptions + responses: + '204': + $ref: '#/components/responses/204' + '401': + $ref: '#/components/responses/401' + '403': + $ref: '#/components/responses/403' + '404': + $ref: '#/components/responses/404' + '429': + $ref: '#/components/responses/429' + parameters: + - name: subscriptionId + in: path + required: true + description: The unique identifier of the subscriptionId. + schema: + type: string components: schemas: ProblemDetails: