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": "nostrud sunt sed cupidatat",
"data": {
"_id": "62a1f3d2ebedfc54e6e0065c",
"iid": 31543300,
"name": "Firewall Service Provisioning",
"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": "group",
"reference": "5cb7b531d06cceb89fd21b1c",
"role": "editor",
"missing": true,
"username": "nostrud nulla non ea anim",
"name": "in dolore fugiat",
"provenance": "est"
}
],
"accessControl": {
"read": [
"aliquip consequat magna"
],
"write": [
"ut est id deserunt incididunt"
],
"execute": [
"dolor eiusmod aliquip",
"sit amet",
"occaecat Excepteur",
"commodo anim sit",
"cupidatat"
],
"manage": [
"qui ipsum id",
"occaecat ex laboris",
"ullamco non consequat dolor commodo",
"pariatur quis"
]
},
"componentIidIndex": 44323961,
"components": [
{
"iid": 1006702,
"type": "transformation",
"reference": "consectetur dolor officia quis proident",
"folder": "/"
},
{
"iid": 41926310,
"type": "transformation",
"reference": "fugiat anim elit amet voluptate",
"folder": "/"
},
{
"iid": 21015697,
"type": "jsonForm",
"reference": "mollit et consequat",
"folder": "/"
},
{
"iid": 10355580,
"type": "transformation",
"reference": "incididunt laboris sit est",
"folder": "/"
},
{
"iid": 64036350,
"type": "template",
"reference": "adipisicing quis",
"folder": "/"
}
],
"created": "2019-11-25T22:51:39.201Z",
"createdBy": {
"_id": "Pronghorn",
"username": null,
"provenance": "dolor ad id ipsum Duis",
"missing": false
},
"lastUpdated": "2019-11-25T22:51:39.201Z",
"lastUpdatedBy": {
"_id": "4321abcdef694aa79dae47ad",
"username": "qui consectetur id Excepteur",
"provenance": "dolor ea ullamco",
"missing": true
},
"versionHistory": [
{
"versionNumber": -54110709,
"commitMessage": "officia proident sunt sint reprehenderit",
"author": "in labore in",
"branchName": "nisi qui Ut"
},
{
"versionNumber": 75343706,
"commitMessage": "sunt incididunt",
"author": "incididunt pariatur",
"branchName": "eu irure do cillum"
},
{
"versionNumber": 95995340,
"commitMessage": "laboris elit",
"author": "aliquip proident Excepteur",
"branchName": "deserunt cupidatat elit"
},
{
"versionNumber": -20449624,
"commitMessage": "dolor Duis",
"author": "cillum ea sit occaecat minim",
"branchName": "ad dolor aliquip quis Lorem"
}
],
"gitConfiguration": {
"connectionType": "GitLab",
"repositoryPath": "qui id",
"branchName": "consequat irure dolore",
"projectPath": "Duis"
}
}
}
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"
}
}
}