1 {"slug":"/references/user/interfaces/user.CreateInviteDTO","title":"CreateInviteDTO","frontmatter":{"displayed_sidebar":"userReference"},"toc":[],"blocks":[{"kind":"markdown","html":"The invite to be created."},{"kind":"typeList","sectionTitle":"CreateInviteDTO","types":[{"name":"email","type":"`string`","description":"The email of the invite.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"accepted","type":"`boolean`","description":"Whether the invite is accepted.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"metadata","type":"`null` \\| `Record<string, unknown>`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"roles","type":"`null` \\| `string`[]","description":"The RBAC roles to assign to the user when the invite is accepted.","optional":true,"defaultValue":"","expandable":false,"children":[]}]}]}