Summary
Replaces a component group document.
Description
Replaces a component group document.
Route
PUT /automation-studio/component-groups/:id
Roles
admin
apiwrite
designer
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
string |
yes |
Component group id. |
update |
object |
yes |
Complete component group definition to replace the existing component group document with. May not contain field '_id'. |
Copied to Clipboard
{
"update": {
"name": "test",
"gbacRead": [
"aliqua id cupidatat"
],
"members": [],
"_id": "a0db3e4133901BA4dC74eB4F",
"version": 1
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"update": {
"title": "update",
"description": "Complete component group definition to replace the existing component group document with. May not contain field '_id'.",
"$ref": "componentGroupUpdate"
}
},
"required": [
"update"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
response |
object |
Response object. |
Copied to Clipboard
{
"updated": {
"name": "test",
"gbacRead": [
"occaecat ad",
"consequat commodo est laborum",
"dolore laborum exercitation",
"consectetur",
"do"
],
"members": [],
"_id": "CF52ca91E0c7E63E8504eF8f",
"description": "ex in nostrud esse",
"gbacWrite": [
"consectetur laboris",
"cupidatat fugiat exercitation",
"amet Duis dolor sunt in",
"fugiat ad minim veniam",
"consectetur dolore aliqua cupidatat"
],
"version": 1
},
"edit": "ad Ut"
}
Copied to Clipboard
{
"title": "response",
"type": "object",
"properties": {
"updated": {
"description": "Component group document after applying the update.",
"$ref": "componentGroup"
},
"edit": {
"type": "string",
"description": "URI to the edit page for the updated component group."
}
},
"required": [
"updated",
"edit"
]
}