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": "consequat eiusmod",
"data": {
"_id": "4321abcdef694aa79dae47ad",
"iid": 34545711,
"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": "5cb7b531d06cceb89fd21b1c",
"role": "viewer",
"missing": true,
"username": "culpa laborum",
"name": "deserunt laborum",
"provenance": "ullamco"
},
{
"type": "group",
"reference": "62a1f3d2ebedfc54e6e0065c",
"role": "editor",
"missing": false,
"username": "mollit sint id",
"name": "esse veniam",
"provenance": "non enim nostrud"
}
],
"accessControl": {
"read": [
"esse adipisicing Excepteur"
],
"write": [
"sit aute nostrud deserunt aliquip"
],
"execute": [
"occaecat ut Ut ullamco",
"in proident officia eu do",
"laborum enim",
"culpa",
"ex"
],
"manage": [
"nostrud qui fugiat"
]
},
"componentIidIndex": 6330328,
"components": [
{
"iid": 46146379,
"type": "transformation",
"reference": "in id in",
"folder": "/"
},
{
"iid": 65079535,
"type": "workflow",
"reference": "qui est",
"folder": "/"
},
{
"iid": 54752411,
"type": "template",
"reference": "Excepteur",
"folder": "/"
},
{
"iid": 276464,
"type": "workflow",
"reference": "ea",
"folder": "/"
},
{
"iid": 19194406,
"type": "transformation",
"reference": "aliqua Lorem dolor",
"folder": "/"
}
],
"created": "2019-11-25T22:51:39.201Z",
"createdBy": {
"_id": "4321abcdef694aa79dae47ad",
"username": "sunt",
"provenance": "aute pariatur amet sint",
"missing": false
},
"lastUpdated": "2019-11-25T22:51:39.201Z",
"lastUpdatedBy": {
"_id": "Pronghorn",
"username": "cupidatat in Lorem dolor consequat",
"provenance": "elit officia consequat",
"missing": true
},
"versionHistory": [
{
"versionNumber": -74488254,
"commitMessage": "et sunt consectetur cupidatat",
"author": "eiusmod do sit ullamco nostrud",
"branchName": "consequat commodo"
},
{
"versionNumber": 31181638,
"commitMessage": "dolore veniam magna",
"author": "dolor sed sunt",
"branchName": "in"
}
],
"gitConfiguration": {
"connectionType": "GitHub",
"repositoryPath": "mollit laboris ut deserunt esse",
"branchName": "quis reprehenderit in magna aliquip",
"projectPath": "voluptate elit culpa qui velit"
}
}
}
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"
}
}
}