...
This API updates the record of a group that has an id that matches the one sent in the request body. The group should beĀ in the tenant that has the external key sent in the request headers.
Input
...
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|
id | Body | YES | String | N/A | Group ID |
name | Body | YES | String |
| Group Name |
description | Body | NO | String |
| Group Description |
packages | Body | NO | Array | Array of Objects | Packages |
|
Name | Type | Description |
---|
product | String | Product Code | packages | Array of Strings | An array of Package Codes |
|
environments | Body | NO | Array | Array of Strings | Environments |
...
Code Block |
---|
language | js |
---|
title | Valid Response Sample |
---|
linenumbers | true |
---|
collapse | true |
---|
|
{
result: true,
data: 1true
} |
Invalid Response
Code Block |
---|
language | js |
---|
title | Error Response Sample |
---|
linenumbers | true |
---|
collapse | true |
---|
|
{
"result":false,
"errors":{
"codes":[602],
"details":[
{
"code":602,
"message":"Model error: + %model_error%"
}
]
}
} |
...