Execute an HTTP PUT request against the API endpoints.
        This method is meant for internal use.

        :param resource: The last part of the URI
        :param kwargs: Additional parameters for the HTTP call (`request` library)
        :return: The HTTP response as JSON or `GhostException` if unsuccessful

def execute_put(self, resource, **kwargs):
        """
        Execute an HTTP PUT request against the API endpoints.
        This method is meant for internal use.

        :param resource: The last part of the URI
        :param kwargs: Additional parameters for the HTTP call (`request` library)
        :return: The HTTP response as JSON or `GhostException` if unsuccessful
        """

        return self._request(resource, requests.put, **kwargs).json()