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": "deserunt enim",
"data": {
"_id": "62a1f3d2ebedfc54e6e0065c",
"iid": 80650149,
"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": "group",
"reference": "62a1f3d2ebedfc54e6e0065c",
"role": "operator",
"missing": true,
"username": "sint sed",
"name": "anim ullamco dolor",
"provenance": "sunt minim"
}
],
"accessControl": {
"read": [
"sunt ad proident dolore est",
"voluptate",
"dolore"
],
"write": [
"cillum sed"
],
"execute": [
"fugiat nulla do labore laborum"
],
"manage": [
"amet sint sed",
"aliqua",
"consectetur cillum",
"qui Excepteur officia deserunt aliqua",
"minim nulla amet"
]
},
"componentIidIndex": 31023565,
"components": [
{
"iid": 3987946,
"type": "mopAnalyticTemplate",
"reference": "sunt",
"folder": "/"
},
{
"iid": 17413686,
"type": "template",
"reference": "Ut",
"folder": "/"
},
{
"iid": 25988050,
"type": "mopAnalyticTemplate",
"reference": "incididunt id quis",
"folder": "/"
},
{
"iid": 89010333,
"type": "mopCommandTemplate",
"reference": "est exercitation",
"folder": "/"
},
{
"iid": 90640503,
"type": "template",
"reference": "quis mollit consectetur",
"folder": "/"
}
],
"created": "2019-11-25T22:51:39.201Z",
"createdBy": {
"_id": "62a1f3d2ebedfc54e6e0065c",
"username": "et quis laboris sunt",
"provenance": "magna cillum culpa id sunt",
"missing": true
},
"lastUpdated": "2019-11-25T22:51:39.201Z",
"lastUpdatedBy": {
"_id": "Pronghorn",
"username": null,
"provenance": "aliqua cupidatat voluptate",
"missing": false
},
"versionHistory": [
{
"versionNumber": 85899050,
"commitMessage": "Lorem laboris",
"author": "in Lorem nulla qui",
"branchName": "Excepteur"
},
{
"versionNumber": 94038005,
"commitMessage": "in",
"author": "cillum dolor Ut ut",
"branchName": "irure"
},
{
"versionNumber": -61939845,
"commitMessage": "mollit ex",
"author": "pariatur reprehenderit eiusmod nisi",
"branchName": "quis"
}
],
"gitConfiguration": {
"connectionType": "GitHub",
"repositoryPath": "nisi Ut",
"branchName": "ipsum in ullamco adipisicing officia",
"projectPath": "Excepteur mollit sit aliquip amet"
}
}
}
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"
}
}
}