FinishIncident
Finishes an incident.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gemp:FinishIncident |
update |
*All Resource
|
None | None |
Request syntax
POST /incident/finish HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Body |
object |
Yes |
Request body parameters. |
|
| incidentIds |
array |
Yes |
Incident IDs. You can specify up to 10 IDs. |
|
|
integer |
No |
An incident ID. |
12321 |
|
| incidentFinishReason |
integer |
No |
The reason for finishing the incident. |
1 |
| incidentFinishReasonDescription |
string |
No |
A description of the reason for finishing the incident. |
原因 |
| incidentFinishSolution |
integer |
No |
The solution applied to resolve the incident. |
3 |
| incidentFinishSolutionDescription |
string |
No |
A description of the solution applied to resolve the incident. |
原因 |
| clientToken |
string |
No |
An idempotency token. |
FD200FAE-E98F-496E-BFE6-4CE61E59A2DC |
{"incidentIds":[170003050],"incidentFinishReason":"1","incidentFinishReasonDescription":"222","incidentFinishSolution":"1","incidentFinishSolutionDescription":"22222222","clientToken":"155afb33-2300-4c7c-a114-4c8ab1ef4ba7"}
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| requestId |
string |
The request ID. |
FD200FAE-E98F-496E-BFE6-4CE61E59A2E9 |
Examples
Success response
JSON format
{
"requestId": "FD200FAE-E98F-496E-BFE6-4CE61E59A2E9"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncidentUpdateInvalid | The incident update 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.