Commit 100746f4 authored by sunse's avatar sunse
Browse files

CR0227 Update TS28532_ProvMnS.yaml

parent f8bece93
Loading
Loading
Loading
Loading
+4 −39
Original line number Diff line number Diff line
@@ -301,52 +301,17 @@ paths:
              schema:
                $ref: 'TS28623_ComDefs.yaml#/components/schemas/ErrorResponse'
    delete:
      summary: Deletes one or multiple resources
      summary: Deletes one resource
      description: >-
        With HTTP DELETE resources are deleted. The resources to be deleted are
        With HTTP DELETE one resource is deleted. The resources to be deleted is
        identified with the target URI.
      parameters:
        - name: scope
          in: query
          description: >-
            This parameter extends the set of targeted resources beyond the base
            resource identified with the path component of the URI. No scoping
            mechanism is specified in the present document.
          required: false
          schema:
            $ref: '#/components/schemas/Scope'
          style: form
          explode: true
        - name: filter
          in: query
          description: >-
            This parameter reduces the targeted set of resources by applying a
            filter to the scoped set of resource representations. Only resources
            representations for which the filter construct evaluates to "true"
            are returned. No filter language is specified in the present
            document.
          required: false
          schema:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/Filter'
      responses:
        '200':
          description: >-
            Success case ("200 OK").
            This status code shall be returned, when query parameters are present in
            the request and one or multiple resources are deleted.
            The URIs of the deleted resources are returned in the response message body.
        '204':
          description: >-
            Success case ("204 No Content").
            This status code shall be returned, when no query parameters are present in
            the request and only one resource is deleted.
            The message body is empty.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: 'TS28623_ComDefs.yaml#/components/schemas/Uri'
            This status code is returned, when the resource has been successfully deleted.
            The response body is empty.
        default:
          description: Error case.
          content: