General Information
...
Service | API | Method |
---|---|---|
urac | /admin/group/add | POST |
...
Workflow: Add Group Flow
Input
...
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description | |||
---|---|---|---|---|---|---|---|---|
tIdcode | Body | or QueryYES | 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 | Alphanumeric - String - 20 letters Maximum | |||
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 | ||||
---|---|---|---|---|
| ||||
> CURL -X POST http://127.0.0.1:4000/urac/admin/group/add?tId=5551aca9e179c39b760f7a1a&tCode=DBTN -d {
"code": "silver",
"name": "Silver Group",
"description": "grp description",
"config": {
"allowedPackages": {
"prod": ["pack"]
},
"allowedEnvironments": {
"PROD": {}
}
}
} |
...