General Information
...
Data Model: Users
Workflow:
Input
...
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
users | body | Yes | Array | array of objects | array of users to be invites | ||||||||
username | NO | String | N/A | the user username (either username or email should be provided) | |||||||||
NO | String | N/A | the user email (either username or email should be provided) | tenantId | YES | String | tenantCode | YES | String | ||||
groups | NO | Array | Array of strings | ||||||||||
pin | NO | Object | |||||||||||
code | YES | Boolean | set to True to create a random generated code | ||||||||||
allowed | YES | Boolean | set to True if this user is allowed to start pin code login |
...
Code Block | ||||
---|---|---|---|---|
| ||||
> CURL -X POST http://127.0.0.1:4000/urac/admin/inviteUsers --data '{"users":
[
{
username: "username",
email: "email@email.com",
tenantId: "324234",
tenantCode: "code",
pin : {
code: true,
allowed: true,
}
groups : ["group"]
}
]
}' |
...