General Information
...
Name | Source | Mandatory | Type | Special Format | Description | ||
---|---|---|---|---|---|---|---|
tId | Body or Query | YES | String | N/A | the Id of the tenant where this group is added | ||
tCode | Body or Query | YES | String | N/A | the code of the tenant | ||
code | Body | YES | String | N/A | |||
name | Body | YES | String | N/A | |||
description | Body | YES | String | N/A | |||
config | Body | YES | Object | N/A | |||
allowedPackages | YES | Object | N/A | ||||
^([A-Za-z0-9]+)$ | YES | Array of strings | Then keys should follow the pattern : | ||||
allowedEnvironments | NO | Object | N/A | ||||
^([A-Za-z]+)$ | YES | Object | N/A | for it is just an empty object |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": { "code": "ADMIN", "name": true "Administration", "description": "This is the admin group etc...", "config": { "allowedPackages": { "MOBI": ["MOBI_BASIC"] } }, "tenant": { "id": "5cadea196d44342107efe52c", "code": "TEST" }, "_id": "5cc835c0d7fc2f9c75b9f5ed" } } |