code: def create_category(self, category):
          
          content = self._serialize.body(category, 'ExtensionCategory')
          response = self._send(http_method='POST',
                                location_id='476531a3-7024-4516-a76a-ed64d3008ad6',
                                version='5.1-preview.1',
                                content=content)
          return self._deserialize('ExtensionCategory', response)
docs: CreateCategory.
          [Preview API]
          :param :class:`<ExtensionCategory> <azure.devops.v5_1.gallery.models.ExtensionCategory>` category:
          :rtype: :class:`<ExtensionCategory> <azure.devops.v5_1.gallery.models.ExtensionCategory>`