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": [
"non ut laboris et incididunt",
"ad dolor consequat incididunt fugiat",
"amet esse",
"eu dolor commodo dolore proident"
],
"members": [],
"_id": "E1B5b1F2Ba1A9Ee49A112978",
"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": [
"ad",
"qui est sit sint sunt",
"amet",
"aliquip nulla reprehenderit incididunt dolore",
"labore"
],
"members": [],
"_id": "a06465bF78C5479A5A22a91C",
"description": "commodo sint sed incididunt exercitation",
"gbacWrite": [
"irure nulla nisi",
"qui sit ullamco aute ad",
"dolore aliquip cupidatat Lorem culpa",
"nulla et"
],
"version": 1
},
"edit": "aliqua reprehenderit dolore minim"
}
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"
]
}