Undeploys a node.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | OfflineNode |
The operation that you want to perform. Set the value to OfflineNode. |
| NodeId | Long | Yes | 1234 |
The ID of the node. You can call the ListNodes operation to obtain the ID. |
| ProjectId | Long | Yes | 9527 |
The ID of the DataWorks workspace. You can call the ListProjects operation to obtain the ID. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | E6F0DBDD-5AD**** |
The ID of the request. You can use the ID to locate logs and troubleshoot issues. |
| Success | String | true |
Indicates whether the request is successful. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=OfflineNode
&NodeId=1234
&ProjectId=9527
&<Common request parameters>
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<OfflineNodeResponse>
<RequestId>E6F0DBDD-5AD****</RequestId>
<Success>true</Success>
</OfflineNodeResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "E6F0DBDD-5AD****",
"Success" : true
}
Error codes
For a list of error codes, visit the API Error Center.