Create a User
Create a User account and assign roles and groups as needed.
POST
/api/v2/users
Request Body
application/json
{
"email": "mark@gmail.com",
"firstName": "Mark",
"lastName": "Anthony",
"title": "Mark",
"PhoneNumber": "(887) 455-5858",
"username": "markanthony",
"language": "en",
"GroupIds": [
"4f492be4-1b36-49ea-8000-4ea52ae6c7fe"
],
"roleIds": [
"9f793be4-1b39-49ea-8406-6ea12ae3c7gd"
]
}
| Parameter | Type | Validations |
|---|---|---|
| string, optional | Must be a vaild email format. | |
| firstName | string, optional | |
| lastName | string, required | Last name for user account. |
| userName | string, required | This will be what is used to login to Rev. Not case sensitive but must be unique. |
| title | string, optional | |
| phoneNumber | string, optional | |
| langage | string, optional | Two digit language code. For example, en for English. |
| groupIds[] | array, optional | Assigns the account to existing groups in Rev. Use groupIds GUIDs. |
| roleIds[] | array, optional | Assigns the user to additional existing roles. By default, account is assigned to Media Viewer. Use roleId GUIDs. |