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": "quis dolor esse",
"data": {
"_id": "5cb7b531d06cceb89fd21b1c",
"iid": 73806545,
"name": "Firewall Service Provisioning",
"description": "This project is used at Acme Corp as the foundation of some major parts of our business process.",
"members": [
{
"type": "account",
"reference": "62a1f3d2ebedfc54e6e0065c",
"role": "owner",
"missing": true,
"username": "fugiat sed Duis minim dolor",
"name": "dolore",
"provenance": "ut aute sed"
}
],
"accessControl": {
"read": [
"mollit ex",
"enim pariatur",
"in ad culpa",
"nisi"
],
"write": [
"eiusmod pariatur Excepteur voluptate laboris",
"fugiat laborum",
"incididunt reprehenderit"
],
"execute": [
"nisi minim",
"occaecat"
],
"manage": [
"ea do amet labore"
]
},
"componentIidIndex": 62663657,
"components": [
{
"iid": 50687460,
"type": "transformation",
"reference": "in officia cillum dolore aliqua",
"folder": "/"
},
{
"iid": 17936116,
"type": "mopCommandTemplate",
"reference": "ea in cillum",
"folder": "/"
},
{
"iid": 40608792,
"type": "transformation",
"reference": "sit",
"folder": "/"
},
{
"iid": 31035908,
"type": "workflow",
"reference": "labore nisi adipisicing cupidatat id",
"folder": "/"
},
{
"iid": 82777923,
"type": "template",
"reference": "Excepteur ad",
"folder": "/"
}
],
"created": "2019-11-25T22:51:39.201Z",
"createdBy": {
"_id": "Pronghorn",
"username": null,
"provenance": "ex",
"missing": true
},
"lastUpdated": "2019-11-25T22:51:39.201Z",
"lastUpdatedBy": {
"_id": "Pronghorn",
"username": null,
"provenance": "sunt elit",
"missing": true
},
"versionHistory": [
{
"versionNumber": 53182165,
"commitMessage": "laborum eiusmod proident ea mollit",
"author": "qui",
"branchName": "ad consequat dolor"
},
{
"versionNumber": 85232521,
"commitMessage": "Excepteur ea deserunt veniam proident",
"author": "sint",
"branchName": "ea sint"
},
{
"versionNumber": -91682200,
"commitMessage": "dolore ullamco",
"author": "mollit",
"branchName": "sint nostrud laborum ullamco"
},
{
"versionNumber": -51281927,
"commitMessage": "anim dolor exercitation",
"author": "dolor ut",
"branchName": "Duis amet ullamco esse Excepteur"
},
{
"versionNumber": -14500140,
"commitMessage": "ut",
"author": "consequat",
"branchName": "aliqua est sunt"
}
],
"gitConfiguration": {
"connectionType": "GitLab",
"repositoryPath": "commodo esse reprehenderit non",
"branchName": "labore in magna",
"projectPath": "culpa eiusmod esse"
}
}
}
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"
}
}
}