Show examples in:
Resend an invitation

Resends the email invitation

Returns

Returns a site_invitation resource object.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const siteInvitationId = '312';
const siteInvitation = await client.siteInvitations.resend(siteInvitationId);
console.log(siteInvitation);
}
run();