code: def delete(self, pk):
          
          item = self.datamodel.get(pk, self._base_filters)
          if not item:
              return self.response_404()
          self.pre_delete(item)
          try:
              self.datamodel.delete(item, raise_exception=True)
              self.post_delete(item)
              return self.response(200, message="OK")
          except IntegrityError as e:
              return self.response_422(message=str(e.orig))
docs: Delete item from Model
          ---
          delete:
            parameters:
            - in: path
              schema:
                type: integer
              name: pk
            responses:
              200:
                description: Item deleted
                content:
                  application/json:
                    schema:
                      type: object
                      properties:
                        message:
                          type: string
              404:
                $ref: '#/components/responses/404'
              422:
                $ref: '#/components/responses/422'
              500:
                $ref: '#/components/responses/500'