General Information
...
Name | Source | Mandatory | Type | Special Format | Description | |
---|---|---|---|---|---|---|
gId | Query | YES | String | N/A | The Group ID | |
name | Body | YES | String | N/A | ||
description | Body | YES | String | N/A | ||
Name | Source | Mandatory | Type | Special Format | Description | ||
---|---|---|---|---|---|---|---|
gId | Query | YES | String | N/A | The Group ID | ||
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 : The key is the product code. |
...
Code Block | ||||
---|---|---|---|---|
| ||||
> CURL -X POST http://127.0.0.1:4000/urac/admin/group/edit?gId=5 -d '{ "name": "Silver Group", "description": "grp description", "config": { "allowedPackages": { "prod": ["pack"] } } }' |
Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": true } |
...