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": [
"tempor sed est voluptate dolor",
"non",
"proident adipisicing nostrud",
"enim amet minim dolore irure"
],
"members": [
{
"path": [
"dolor",
"aute"
],
"type": "folder"
}
],
"_id": "5Af73fDa63B18cfBa17C3cD4",
"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": [
"sunt pariatur"
],
"members": [
{
"path": "aliquip",
"type": "component",
"sourceCollection": "aliqua exercitation ipsum",
"ref": "consequat mollit adipisicing"
},
{
"path": "in",
"type": "component",
"sourceCollection": "ullamco minim elit nostrud",
"ref": "eu dolor tempor"
},
{
"path": [
"commodo cillum",
"laborum sed fugiat quis exercitation",
"in"
],
"type": "folder"
}
],
"_id": "1Bc3C30C95d44c2FDEf67e9A",
"description": "exercitation",
"gbacWrite": [
"magna do cillum ad",
"commodo"
],
"version": 1
},
"edit": "in dolore adipisicing tempor"
}
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"
]
}