General Information
...
Service | API | Method |
---|
Data Model |
---|
...
Workflow |
---|
...
Input
Type: application/json
...
Then keys should follow the pattern :
^([A-Za-z0-9]+)$
The key is the product code.
The strings inside the array are the package codes.
...
Output
Valid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{
"result": true,
"data": true
} |
Invalid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{
"result":false,
"errors":{
"codes":[417],
"details":[
{
"code":417,
"message":"Invalid group id provided"
}
]
}
} |
...
Code
...
Description
...
Request
Code Block | ||||
---|---|---|---|---|
| ||||
> CURL -X POST http://127.0.0.1:4000/urac/admin/group/edit?gId=5 -d '{
"name": "Some Group",
"description": "group description",
"config": {
"allowedPackages": {
"prod": ["pack"]
},
"allowedEnvironments": {
"PROD": {}
}
}
}' |
Response
...
language | js |
---|---|
title | Edit Group API response |
...
urac | /admin/group | PUT | Groups | Edit Group Flow |