All Products
Search
Document Center

ApsaraDB for Redis:UnlockDBInstanceWrite

Last Updated:Feb 20, 2024

Removes the write lock from an instance. After the instance is unlocked, it supports both read and write operations.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DBInstanceIdstringYes

The instance ID.

r-bp1zxszhcgatnx****

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

5D622714-AEDD-4609-9167-F5DDD3D1****
DBInstanceNamestring

The name of the instance.

r-2ev03avw0r0552***
TaskIdlong

The task ID.

10****

Examples

Sample success responses

JSONformat

{
  "RequestId": "5D622714-AEDD-4609-9167-F5DDD3D1****",
  "DBInstanceName": "r-2ev03avw0r0552***",
  "TaskId": 0
}

Error codes

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