Updates a notification policy.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:UpdateNotifyStrategy |
update |
*NotifyStrategy
|
None | None |
Request syntax
PUT /notifyStrategies/{notifyStrategyId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| notifyStrategyId |
string |
Yes |
The UUID of the notification policy. |
12312-31-23-123-1-23123 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
No |
The name of the workspace. |
workspace-test |
| body | NotifyStrategyForModify |
No |
The request body. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The structure of the response. |
||
| requestId |
string |
The ID of the request. This is a unique identifier for troubleshooting. |
8FDE2569-626B-5176-9844-28877A***** |
| notifyStrategyId |
string |
The UUID of the notification policy. |
12312-31-23-123-1-23123 |
Examples
Success response
JSON format
{
"requestId": "8FDE2569-626B-5176-9844-28877A*****",
"notifyStrategyId": "12312-31-23-123-1-23123"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameterValue | Illegal parameters. | Illegal parameters. |
| 400 | StrategyNameConflict | The specified strategy name exits already. | The specified strategy name already exists |
| 500 | InternalUnknownError | The request processing has failed due to some unknown error. | |
| 403 | Forbidden | You are not authorized to operate the specified resource. | No permission, please use RAM to authorize |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.