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": "enim ut irure sunt",
"data": {
"_id": "4321abcdef694aa79dae47ad",
"iid": 44727868,
"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": "group",
"reference": "5cb7b531d06cceb89fd21b1c",
"role": "operator",
"missing": false,
"username": "esse cupidatat",
"name": "dolor nulla qui",
"provenance": "non nostrud ipsum quis adipisicing"
},
{
"type": "group",
"reference": "5cb7b531d06cceb89fd21b1c",
"role": "editor",
"missing": true,
"username": "in",
"name": "Duis ea",
"provenance": "anim"
},
{
"type": "group",
"reference": "4321abcdef694aa79dae47ad",
"role": "owner",
"missing": true,
"username": "aliquip incididunt Duis ipsum dolore",
"name": "exercitation minim velit ut laboris",
"provenance": "velit elit aute cupidatat"
}
],
"accessControl": {
"read": [
"anim ea dolore",
"eiusmod",
"amet dolor",
"consequat"
],
"write": [
"Lorem velit cillum",
"Excepteur nostrud nisi",
"dolor mollit aliquip occaecat",
"aliqua",
"enim ut"
],
"execute": [
"incididunt"
],
"manage": [
"eu non ut",
"labore"
]
},
"componentIidIndex": 1719113,
"components": [
{
"iid": 5620814,
"type": "transformation",
"reference": "dolore voluptate",
"folder": "/"
}
],
"created": "2019-11-25T22:51:39.201Z",
"createdBy": {
"_id": "5cb7b531d06cceb89fd21b1c",
"username": "elit nulla",
"provenance": "ut tempor",
"missing": false
},
"lastUpdated": "2019-11-25T22:51:39.201Z",
"lastUpdatedBy": {
"_id": "Pronghorn",
"username": null,
"provenance": "dolor",
"missing": true
},
"versionHistory": [
{
"versionNumber": -76528502,
"commitMessage": "ut culpa",
"author": "nisi enim in esse sint",
"branchName": "cupidatat nisi laborum adipisicing dolor"
},
{
"versionNumber": 20780418,
"commitMessage": "Duis sed nostrud laboris adipisicing",
"author": "reprehenderit pariatur Ut",
"branchName": "minim laboris"
},
{
"versionNumber": 67149663,
"commitMessage": "ad quis amet adipisicing",
"author": "sed nostrud ullamco",
"branchName": "commodo sit ut fugiat"
},
{
"versionNumber": -16980081,
"commitMessage": "magna nisi",
"author": "Duis voluptate incididunt mollit",
"branchName": "aliquip qui labore nulla sit"
}
],
"gitConfiguration": {
"connectionType": "GitLab",
"repositoryPath": "ex amet",
"branchName": "amet",
"projectPath": "in velit pariatur laborum"
}
}
}
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"
}
}
}