Restarting DCS Instances or Clearing DCS Instance Data
Function
This API is used to restart a running DCS instance.
Data clearance operations cannot be undone on DCS Redis 4.0 and 5.0 instances.
Request
Request parameters
Example request
PUT https://{dcs_endpoint}/v1.0/{project_id}/instances/status {
"action": "restart",
"instances": [
"2e803f66-fbb0-47ad-b6cb-fb87f5bed4ef"
]
} Response
Response parameters
| Parameter | Type | Description |
|---|---|---|
| instance | String | DCS instance ID. |
| result | String | Instance modification result. Options: success or failed |
{
"results": [
{
"result": "success",
"instance": "2e803f66-fbb0-47ad-b6cb-fb87f5bed4ef"
}
]
} Last Article: Instance Management APIs
Next Article: Querying Shards and Replicas
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.