All Products
Search
Document Center

Tair (Redis® OSS-Compatible):ModifyEventInfo

Last Updated:Jan 28, 2026

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
kvstore:ModifyEventInfoupdate
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
EventIdstringYes

The event IDs. Separate multiple event IDs with commas (,). You can specify up to 20 event IDs.

5422964
EventActionstringNo

The event handling action. Valid values:

  • archive
  • undo
archive
ActionParamsstringNo

The JSON-formatted parameters related to the action. Set this parameter to {"recoverMode": "xxx", "recoverTime": "xxx"} if the TaskAction parameter is set to modifySwitchTime.

  • recoverMode: specifies the restoration mode for the task. Valid values:

    • timePoint: performs the task at the specified point in time.
    • immediate: performs the task immediately.
    • maintainTime: performs the task within the maintenance window.
  • recoverTime: specifies the point in time for restoration. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC. This parameter is required if the recoverMode parameter is set to timePoint.

{"recoverTime":"2023-04-17T14:02:35Z","recoverMode":"timePoint"}

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

6C9E114C-217C-4118-83C0-B4070222****
ErrorEventIdstring

The error ID.

12343
SuccessCountinteger

The number of successful records.

2
ErrorCodestring

The error code that is returned if the request failed.

mst.errorcode.success.errormessage
SuccessEventIdstring

The ID of the successful event.

234221

Examples

Sample success responses

JSONformat

{
  "RequestId": "6C9E114C-217C-4118-83C0-B4070222****",
  "ErrorEventId": 12343,
  "SuccessCount": 2,
  "ErrorCode": "mst.errorcode.success.errormessage",
  "SuccessEventId": 234221
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2025-11-12Add OperationView Change Details