UpdateApsWebhook
Updates the webhook configuration of a specified database cluster.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:UpdateApsWebhook |
none |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
The cluster ID. |
exampleDBClusterId |
| RegionId |
string |
Yes |
The region ID. |
exampleRegionId |
| Webhook |
array<object> |
No |
The webhook array. |
|
|
object |
No |
The webhook array. |
||
| WebhookId |
integer |
Yes |
Webhook ID. |
**355**** |
| Url |
string |
No |
The request URL. |
https://example.com/webhook |
| Key |
string |
No |
The signing key. |
ABC** |
| WebhookType |
string |
No |
The notification method. Valid values:
|
dingtalk |
| Name |
string |
No |
The webhook name. |
exampleWebhookName |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
exampleRequestId |
| Data |
string |
The returned data. |
- |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The returned message. |
Operation succeeded |
| DBClusterId |
string |
The cluster ID. |
amv-bp11q28kvl688**** |
| Code |
string |
The response code. |
200 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "exampleRequestId",
"Data": "-",
"HttpStatusCode": 200,
"Message": "Operation succeeded",
"DBClusterId": "amv-bp11q28kvl688****",
"Code": "200",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.