POST/users/send-invitation-email

Resends an invitation message to all "pending" members whose password creation type is "MEMBER." The host who invites members in the resent invitation message is the administrator. After the invitation message is resent, the administrator will get notified of the result by email. The invitation message can be bulk resent only once a day.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

user
directory

HTTP Request

POSThttps://www.worksapis.com/v1.0/users/send-invitation-email

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 
Content-Type string 

application/json


required
example : application/json 

Request Body

PropertyTypeDescription
resultEmailReceiver string 

The email address to receive the result. If it is not specified, the result is sent to the administrator's email.


maxLength : 256 
domainId integer 

Domain ID. If it is not specified, the authenticated domain ID is used.


format : int32 

Request Example

example

1{2  "resultEmailReceiver": "admin@example.com",3  "domainId": 100000014}

Response

HTTP 202

Accepted

HTTP 400

Bad Request