General Information
...
Data Model: Users
Workflow:
Input
...
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
username | Query | NO | String | N/A | the user username (either username or email should be provided) | |||||||||||
Query | NO | String | N/A | the user email (either username or email should be provided) | tenantId | body | YES | String | tenantCode | body | YES | String | ||||
groups | body | NO | Array | Array of strings | ||||||||||||
pin | body | NO | Object | |||||||||||||
code | YESString | 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/inviteUser?username=5718a32f0e811ab5a0ca08b3 --data '{"tenantId":"xyz","tenantCode":"xyz", "groups":"[xyz"], "pin":{"code": "123", "allowed": true}}}' |
...