UpdateIncident
Updates an incident.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:UpdateIncident |
update |
*All Resource
|
None | None |
Request syntax
POST /incident/update HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
Request body. |
|
| incidentId |
integer |
Yes |
Incident ID. |
12312 |
| incidentLevel |
string |
No |
Incident level, from highest to lowest:
|
P1 |
| effect |
string |
No |
Impact level:
|
LOW |
| incidentTitle |
string |
No |
Incident title. |
事件标题 |
| clientToken |
string |
No |
Idempotency token. |
FD200FAE-E98F-496E-BFE6-4CE61E59A123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response structure. |
||
| requestId |
string |
Request ID. |
FD200FAE-E98F-496E-BFE6-4CE61E59A2E9 |
| data |
object |
Returned data. |
|
| incidentId |
integer |
Incident ID. |
2312 |
Examples
Success response
JSON format
{
"requestId": "FD200FAE-E98F-496E-BFE6-4CE61E59A2E9",
"data": {
"incidentId": 2312
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncidentUpdateInvalid | The incident update is invalid. | |
| 400 | IncidentStatusInvalid | The incident status is invalid. | |
| 404 | IncidentNotExtisted | The incident does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.