Summary
Remove a component from a project
Description
Remove a component from a project
Route
DELETE /automation-studio/projects/:projectId/components/:componentId
Roles
admin
apiwrite
designer
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
projectId |
string |
yes |
Project identifier |
componentId |
number |
yes |
Component identifier |
options |
object |
yes |
Options designating removal mode |
Copied to Clipboard
{
"options": {
"mode": "move"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"options": {
"title": "options",
"type": "object",
"description": "Options designating removal mode",
"properties": {
"mode": {
"type": "string",
"enum": [
"delete",
"move"
]
}
}
}
},
"required": [
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
response |
object |
Response object |
Copied to Clipboard
{
"message": "sed sit non",
"data": {
"_id": "5cb7b531d06cceb89fd21b1c",
"iid": 65142112,
"name": "Arista EOS Utilities",
"description": "This project is comprised of two major elements: 1) Workflows handling customer self-service, and 2) Workflows used by operations teams to provision service internally",
"members": [
{
"type": "account",
"reference": "4321abcdef694aa79dae47ad",
"role": "operator",
"missing": true,
"username": "ex tempor laborum exercitation",
"name": "mollit pariatur adipisicing magna",
"provenance": "eiusmod ad proident"
},
{
"type": "account",
"reference": "62a1f3d2ebedfc54e6e0065c",
"role": "editor",
"missing": false,
"username": "Lorem reprehenderit",
"name": "occaecat adipisicing laborum cillum in",
"provenance": "sit cillum Lorem reprehenderit"
},
{
"type": "account",
"reference": "4321abcdef694aa79dae47ad",
"role": "viewer",
"missing": true,
"username": "dolore",
"name": "voluptate commodo amet",
"provenance": "esse magna labore est Ut"
},
{
"type": "account",
"reference": "4321abcdef694aa79dae47ad",
"role": "owner",
"missing": true,
"username": "est magna",
"name": "aute fugiat",
"provenance": "minim consectetur amet pariatur enim"
}
],
"accessControl": {
"read": [
"cupidatat occaecat",
"nulla nostrud voluptate",
"in Duis eu aliqua ad"
],
"write": [
"dolor ad anim adipisicing",
"do pariatur",
"adipisicing sunt Duis",
"elit ipsum id in amet",
"Duis fugiat pariatur"
],
"execute": [
"magna nisi cillum",
"occaecat do culpa labore minim",
"occaecat"
],
"manage": [
"ut laborum elit",
"esse exercitation culpa pariatur cillum",
"fugiat in reprehenderit",
"aliquip occaecat"
]
},
"componentIidIndex": 29415060,
"components": [
{
"iid": 12430560,
"type": "mopCommandTemplate",
"reference": "qui aliqua",
"folder": "/"
},
{
"iid": 10529934,
"type": "transformation",
"reference": "cillum sint do dolor culpa",
"folder": "/"
},
{
"iid": 94847643,
"type": "mopCommandTemplate",
"reference": "amet laboris occaecat",
"folder": "/"
}
],
"created": "2019-11-25T22:51:39.201Z",
"createdBy": {
"_id": "5cb7b531d06cceb89fd21b1c",
"username": null,
"provenance": "cillum quis dolore minim",
"missing": false
},
"lastUpdated": "2019-11-25T22:51:39.201Z",
"lastUpdatedBy": {
"_id": "62a1f3d2ebedfc54e6e0065c",
"username": "in amet officia dolore Ut",
"provenance": "eu minim",
"missing": true
},
"versionHistory": [
{
"versionNumber": 7418849,
"commitMessage": "amet qui do et eiusmod",
"author": "commodo eiusmod irure",
"branchName": "consequat Duis"
}
],
"gitConfiguration": {
"connectionType": "GitHub",
"repositoryPath": "culpa reprehenderit aliqua",
"branchName": "adipisicing pariatur",
"projectPath": "aute pariatur quis"
}
}
}
Copied to Clipboard
{
"title": "response",
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Message denoting the status of the delete operation"
},
"data": {
"$ref": "projects-http"
},
"metadata": {
"type": "object"
}
}
}