---
displayed_sidebar: homepage
---

import ParameterTypes from "@site/src/components/ParameterTypes"

# AdminPostInvitesReq

## Properties

<ParameterTypes parameters={[
  {
    "name": "role",
    "type": "[UserRoles](../../entities/enums/entities.UserRoles.mdx)",
    "description": "The role of the user to be created. This does not actually change the privileges of the user that is eventually created.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": [
      {
        "name": "ADMIN",
        "type": "`\"admin\"`",
        "description": "The user is an admin.",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "DEVELOPER",
        "type": "`\"developer\"`",
        "description": "The user is a developer.",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "MEMBER",
        "type": "`\"member\"`",
        "description": "The user is a team member.",
        "optional": true,
        "defaultValue": "",
        "expandable": false,
        "children": []
      }
    ]
  },
  {
    "name": "user",
    "type": "`string`",
    "description": "The email associated with the invite. Once the invite is accepted, the email will be associated with the created user.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records"/>
