Changes the health check URL for an application.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ManageApplication |
update |
*Application
|
None | None |
Request syntax
POST /pop/v5/app/modify_hc_url HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The ID of the application. |
c627c157-560d-43ff-*************** |
| hcURL |
string |
No |
The health check URL of the application. The URL must start with |
http://127.0.0.1:8080/_ehc.html |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The message that is returned. |
success |
| RequestId |
string |
The ID of the request. |
D16979DC-4D42-***************** |
| HealthCheckURL |
string |
The health check URL. |
http://127.0.0.1:8080/_ehc.html |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "D16979DC-4D42-*****************",
"HealthCheckURL": "http://127.0.0.1:8080/_ehc.html"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.