Delete Product Node

Delete Product Node

Delete a product node by node id.

Request
URI
DELETE
https://{api_host}/https://{{host}}:{{port}}/api/v5/lcm/environment/{environmentId}/product/{productId}/node/{nodeId}
COPY
Path Parameters
string
environmentId
Required

ID of the environment

string
productId
Required

ID of the product within the environment

integer
nodeId
Required

ID of the node

Query Parameters
boolean
force
Optional

Force deletion of the node, even if it is not recommended.


Responses
200

Task ID for the task that deletes a product node.

Returns TaskResponse of type(s) */*
{
    "taskId": "string",
    "precedingTasks": [
        0
    ]
}
string
taskId
Required

The ID of the task that was created for the operation. Use this ID to get the state and result of the task.

array of integer
precedingTasks
Optional

List of task IDs for tasks that have to be processed before this task can start.


400

Invalid product node spec

Returns TaskResponse of type(s) */*
{
    "taskId": "string",
    "precedingTasks": [
        0
    ]
}
string
taskId
Required

The ID of the task that was created for the operation. Use this ID to get the state and result of the task.

array of integer
precedingTasks
Optional

List of task IDs for tasks that have to be processed before this task can start.


401

Unauthorized access

Returns TaskResponse of type(s) */*
{
    "taskId": "string",
    "precedingTasks": [
        0
    ]
}
string
taskId
Required

The ID of the task that was created for the operation. Use this ID to get the state and result of the task.

array of integer
precedingTasks
Optional

List of task IDs for tasks that have to be processed before this task can start.


404

Environment or product doesn't exist

Returns TaskResponse of type(s) */*
{
    "taskId": "string",
    "precedingTasks": [
        0
    ]
}
string
taskId
Required

The ID of the task that was created for the operation. Use this ID to get the state and result of the task.

array of integer
precedingTasks
Optional

List of task IDs for tasks that have to be processed before this task can start.


405

Product does not support deletion of nodes. In order to delete the single node, delete the product or the entire environment

Returns TaskResponse of type(s) */*
{
    "taskId": "string",
    "precedingTasks": [
        0
    ]
}
string
taskId
Required

The ID of the task that was created for the operation. Use this ID to get the state and result of the task.

array of integer
precedingTasks
Optional

List of task IDs for tasks that have to be processed before this task can start.