Commit cb986883 authored by bradburyr's avatar bradburyr
Browse files

Regularised the use of 204 (No Content) as the success response to destruction...

Regularised the use of 204 (No Content) as the success response to destruction operations (DELETE method).
parent 63f7514e
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -190,12 +190,6 @@ paths:
      operationId: destroyContentPreparationTemplate
      summary: 'Destroy the specified Content Preparation Template of the specified Provisioning Session'
      responses:
        '200': # OK
          description: 'Content Preparation Template Destroyed'
          content:
            '*/*':
              schema:
                type: string
        '204': # No Content
          description: 'Content Preparation Template Destroyed'
        '400': # Bad Request: The syntax of the HTTP request is malformed in a way not covered by one of the following more specific client errors
+0 −6
Original line number Diff line number Diff line
@@ -164,12 +164,6 @@ paths:
      operationId: destroyServerCertificate
      summary: 'Destroy an existing Server Certificate resource'
      responses:
        '200': # OK
          description: 'Server Certificate Destroyed'
          content:
            'application/x-pem-file':
              schema:
                type: string
        '204': # No Content
          description: 'Server Certificate Destroyed'
        '400': # Bad Request: The syntax of the HTTP request is malformed in a way not covered by one of the following more specific client errors