API Reference

Sections

Theme switcher

InviteRoleWithEmailInputs

InviteRoleWithEmailInputs

accessEndsAtutcdatetime

The UTC date/time when user role permissions should expire. Default (null/undefined) is that permissions will never expire.

accessStartsAtutcdatetime

The UTC date/time when user role permissions should begin. Default (null/undefined) is that permissions begin immediately.

emailemailstring Required

Email address of the user to be added to the site.

invitationExpiresAtutcdatetimewithin30days

Optional input that specifies the dateTime the invitation should expire if user does not create a user account by. Maximum input is 30 days after invitation is issued. If no value given, default is the maximum.

notificationDataobject Required

Show child attributes

roleNamestring Required

The name of role user should be invited to site with.

Enum values:
ADMIN_SITESERVICE_DEVICES
siteIdid Required

Unique ID of the site to which user should be invited.

Was this section helpful?

What made this section unhelpful for you?

1 2 3 4 5 6 7 8 9 10 11 12 13 { "accessEndsAt": null, "accessStartsAt": null, "email": null, "invitationExpiresAt": null, "notificationData": { "emailFromAddress": null, "emailFromName": null, "redirectUrl": null }, "roleName": "ADMIN_SITE", "siteId": null }
Was this section helpful?

What made this section unhelpful for you?