This operation supports dry runs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:WriteSearchStrategy |
*SearchStrategy
|
None | None |
Request syntax
PUT /v4/openapi/app-groups/{appGroupIdentity}/apps/{appId}/search-strategies/{strategyName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The name of the application group. |
group_name |
| appId |
string |
Yes |
The version number. |
"110157886" |
| strategyName |
string |
Yes |
The name of the policy. |
default |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
SearchStrategy |
No |
The search policy. For more information, see SearchStrategy. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| requestId |
string |
The request ID. |
ABCDEFGH |
Examples
Success response
JSON format
{
"requestId": "ABCDEFGH"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.