#NEWLINE# @ classmethod #NEWLINE# def invite( cls , emails ) : #NEWLINE# #INDENT# '\n        Send an invite to join datadog to each of the email addresses in the\n        *emails* list. If *emails* is a string, it will be wrapped in a list and\n        sent. Returns a list of email addresses for which an email was sent.\n\n        :param emails: emails adresses to invite to join datadog\n        :type emails: string list\n\n        :returns: JSON response from HTTP request\n        ' #NEWLINE# print ( '[DEPRECATION] User.invite() is deprecated. Use `create` instead.' ) #NEWLINE# if ( not isinstance ( emails , list ) ) : #NEWLINE# #INDENT# emails = [ emails ] #NEWLINE# #UNINDENT# body = { #NEWLINE# #INDENT# 'emails' : emails , #NEWLINE# #UNINDENT# } #NEWLINE# return super ( User , cls ) . _trigger_action ( 'POST' , '/invite_users' , ** body )