Updates the PolarClaw configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardb:PatchPolarClawConfig |
update |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ApplicationId |
string |
Yes |
The application ID. |
pa-************** |
| ConfigPatch |
object |
No |
The JSON merge patch object. |
{ "tools": { "web": { "search": { "enabled": false } } } } |
| Restart |
boolean |
No |
Specifies whether to restart the gateway after the patch is applied. Default value: true. |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF |
| Message |
string |
The response message. |
successful |
| Code |
integer |
The response status code. |
200 |
| ApplicationId |
string |
The application ID. |
pa-************** |
| Ok |
boolean |
Indicates whether the operation is successful. |
true |
| Restarted |
boolean |
Indicates whether the gateway is restarted. |
true |
| PatchedKeys |
array |
The list of modified top-level configuration keys. |
|
|
string |
The top-level configuration key. |
tools |
Examples
Success response
JSON format
{
"RequestId": "3E5CD764-FCCA-5C9C-838E-20E0DE84B2AF",
"Message": "successful",
"Code": 200,
"ApplicationId": "pa-**************",
"Ok": true,
"Restarted": true,
"PatchedKeys": [
"tools"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.