DeleteLivyServer
Deletes Livy server records that are in the Terminated or Failed state. For a running server, call UpdateLivyServer to stop the server first, and then delete the record after you confirm that the state is Terminated.
Operation description
Before calling this operation, ensure that you fully understand the billing methods and pricing of exclusive resource groups for Data Transmission Service and elastic reserved compute resources.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:DeleteLivyServer |
delete |
*All Resource
|
None | None |
Request syntax
DELETE /api/v1/livyserver/{livyServerName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| livyServerName |
string |
Yes |
The name of the Livy server to delete. |
livy-demo |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The unique identifier of the request. |
688003E1-D1B4-5468-957E-2FFB3AC8D79B |
| httpCode |
integer |
The HTTP status code of the API request. |
200 |
| errorCode |
string |
The error code returned when the API request fails. |
Bad Request |
| errorMsg |
string |
The error message returned when the API request fails. |
Invalid request parameter. |
| data |
string |
The response data. The value ok is returned if the deletion is successful. |
ok |
Examples
Success response
JSON format
{
"requestId": "688003E1-D1B4-5468-957E-2FFB3AC8D79B",
"httpCode": 200,
"errorCode": "Bad Request",
"errorMsg": "Invalid request parameter.",
"data": "ok"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.