For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI referenceRelease notes
DocumentationAPI referenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTAdd one or more components to project
        • POSTCreate a new component group document
        • POSTCreate a new project
        • POSTCreate a new template document
        • POSTCreate a new workflow document
        • DELDelete a component group document
        • DELDelete a project and any components it contains
        • DELDelete a template document
        • POSTDiscover referenced resources
        • GETExport a template document
        • GETExport project as JSON document
        • GETGet a list of all the apps and adapters
        • GETGet a page of component group documents
        • GETGet a page of template documents
        • GETGet a page of workflow documents
        • GETGet a project's thumbnail
        • GETGet component group document
        • GETGet details of a workflow
        • GETGet project
        • GETGet references to a particular document
        • GETGet task details
        • POSTGet task details
        • GETGet template document
        • POSTImport a new component group document
        • POSTImport a new template document
        • POSTImport a new workflow document
        • POSTImport a project document from a JSON document
        • GETList all available rest calls
        • DELRemove a component from a project
        • PUTReplace a component group document
        • PUTReplace a template document
        • PUTReplace a workflow document
        • GETSearch projects
        • PUTSet a project's thumbnail image
        • PATCHUpdate an existing project
        • POSTValidate a workflow
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceAutomation Studio

Remove a component from a project

DELETE
http://localhost:3000/automation-studio/projects/:projectId/components/:componentId
DELETE
/automation-studio/projects/:projectId/components/:componentId
$curl -X DELETE http://localhost:3000/automation-studio/projects/projectId/components/1.1 \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{}'
1{
2 "message": "string",
3 "data": {
4 "_id": "62a1f3d2ebedfc54e6e0065c",
5 "iid": 1,
6 "name": "Firewall Service Provisioning",
7 "description": "This project is used at Acme Corp as the foundation of some major parts of our business process.",
8 "members": [
9 {
10 "type": "account",
11 "reference": "62a1f3d2ebedfc54e6e0065c",
12 "role": "owner",
13 "missing": true,
14 "username": "admin@pronghorn",
15 "name": "admin",
16 "provenance": "Pronghorn"
17 }
18 ],
19 "accessControl": {
20 "read": [
21 "account:67d3108eddcf3e66cc0efbac"
22 ],
23 "execute": [
24 "account:67d3108eddcf3e66cc0efbac"
25 ],
26 "write": [
27 "account:67d3108eddcf3e66cc0efbac"
28 ],
29 "manage": [
30 "account:67d3108eddcf3e66cc0efbac"
31 ]
32 },
33 "componentIidIndex": 1,
34 "components": [
35 {
36 "iid": 1,
37 "type": "workflow",
38 "reference": "1Ac4B2268489019745B5baa4",
39 "folder": "string"
40 }
41 ],
42 "folders": [
43 {
44 "nodeType": "folder",
45 "name": "folder-1",
46 "children": [
47 null
48 ]
49 }
50 ],
51 "created": "2019-11-25T22:51:39.201Z",
52 "lastUpdated": "2019-11-25T22:51:39.201Z",
53 "versionHistory": [
54 {
55 "versionNumber": 1,
56 "commitMessage": "string",
57 "author": "admin@pronghorn",
58 "branchName": "master"
59 }
60 ],
61 "gitConfiguration": {
62 "connectionType": "GitHub",
63 "repositoryPath": "Itential Open Source",
64 "branchName": "master",
65 "projectPath": "Projects"
66 }
67 },
68 "metadata": {}
69}
Removes a component from a project.
Was this page helpful?
Previous

Replace a component group document

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Path parameters

projectIdstringRequired
Project identifier
componentIddouble or stringRequired
Component identifier

Request

request body
optionsobjectOptional
Options designating removal mode

Response

Response object
messagestring
Message denoting the status of the delete operation
dataobject
Project data as it is sent back from get and search endpoints
metadataobject

Errors

500
Internal Server Error