Query parameters
-
if set , the preview of the mail sent to the ambassador will be returned , no mail will be sent
PATCH
/manager/ambassadors/{id}/approve
curl \
--request PATCH 'https://domain.tld/api/v2/manager/ambassadors/{id}/approve' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
Success
{
"message": "Ambassador approved successfully"
}
<html><body><h1>Preview</h1></body></html>