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": "occaecat culpa in",
"data": {
"_id": "5cb7b531d06cceb89fd21b1c",
"iid": 94722849,
"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": "account",
"reference": "62a1f3d2ebedfc54e6e0065c",
"role": "editor",
"missing": false,
"username": "ad adipisicing",
"name": "amet non labore enim fugiat",
"provenance": "nisi Ut id"
}
],
"accessControl": {
"read": [
"cillum pariatur cupidatat Excepteur",
"id incididunt elit Excepteur aliqua",
"ea aliquip qui",
"consequat est aliqua magna Duis"
],
"write": [
"mollit sit Excepteur officia est",
"ex sit esse"
],
"execute": [
"eiusmod dolore",
"Lorem anim eu cupidatat",
"deserunt labore",
"id officia aliquip",
"dolore do amet velit"
],
"manage": [
"laborum",
"Excepteur incididunt amet est laboris",
"deserunt enim laboris",
"in enim consectetur ut"
]
},
"componentIidIndex": 52248178,
"components": [
{
"iid": 27942594,
"type": "mopCommandTemplate",
"reference": "consectetur et aliquip nulla exercitation",
"folder": "/"
},
{
"iid": 83159616,
"type": "jsonForm",
"reference": "culpa",
"folder": "/"
},
{
"iid": 93834533,
"type": "transformation",
"reference": "cupidatat",
"folder": "/"
},
{
"iid": 25734945,
"type": "jsonForm",
"reference": "in proident",
"folder": "/"
}
],
"created": "2019-11-25T22:51:39.201Z",
"createdBy": {
"_id": "5cb7b531d06cceb89fd21b1c",
"username": "et",
"provenance": "labore",
"missing": true
},
"lastUpdated": "2019-11-25T22:51:39.201Z",
"lastUpdatedBy": {
"_id": "Pronghorn",
"username": "aliqua",
"provenance": "aute dolore fugiat officia",
"missing": false
},
"versionHistory": [
{
"versionNumber": 64595944,
"commitMessage": "dolore sunt",
"author": "Lorem proident ullamco et eiusmod",
"branchName": "sunt esse"
},
{
"versionNumber": -46941753,
"commitMessage": "esse reprehenderit incididunt",
"author": "sunt",
"branchName": "laborum"
},
{
"versionNumber": 72041163,
"commitMessage": "ex irure quis",
"author": "dolore dolor",
"branchName": "incididunt sed Duis"
}
],
"gitConfiguration": {
"connectionType": "GitLab",
"repositoryPath": "aute ullamco sed incididunt Duis",
"branchName": "adipisicing esse irure Duis",
"projectPath": "minim consectetur 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"
}
}
}