Skip to main content

When using cluster mode

The following APIs are available only for clusters with cluster mode set to enabled.

caution

The user.password field must contain an encrypted value for proper cluster creation.

Create cluster

Create a new cluster. Minimum shard count is 1, and maximum is 12.

Request
Create cluster request syntax
curl -X POST "https://redis.kr-central-2.kakaocloud.com/v1/clusters" \
-H "X-Auth-Token: {token-id}" \
-H "Content-Type: application/json" \
-d '{Body}'
TypeParameterTypeDescription
Header{token-id}*StringSee API authentication token
HeaderContent-Type*StringDefault: application/json
Bodyname*StringCluster name
descriptionStringCluster description
version*StringRedis version
port*IntegerRedis port (2000–50000)
shardCount*IntegerNumber of shards
nodeCountPerShard*IntegerNumber of nodes per shard
flavorId*StringFlavor ID
parameterGroupId*StringParameter group ID
subnets[]*Object arrayList of subnets for placement
subnets[].id*StringSubnet ID
- See Console > VPC > Subnet
subnetAssignments[]*Object arraySubnet assignment list
subnetAssignments[].primary*ObjectSubnet for primary node
subnetAssignments[].primary.id*StringPrimary subnet ID
subnetAssignments[].replicas[]*Object arrayReplica subnets
subnetAssignments[].replicas[].id*StringReplica subnet ID
tlsEnabledBooleanEnable TLS
backupScheduleObjectAutomatic backup policy
- If omitted, backups are disabled
backupSchedule.cronStringCron expression (5 fields only)
backupSchedule.retentionLimitIntegerRetention period (days)
userObjectDB user info
user.nameStringDB username
user.passwordStringEncrypted password or hash
How to encrypt DB user password
securityGroups[]*Object arrayList of security groups
securityGroups[].id*StringSecurity group ID
- See Console > VPC > Security group
Create cluster request body example
{
"name": "test-cluster",
"description": "test-cluster",
"version": "6.2.5",
"port": 6379,
"shardCount": 2,
"nodeCountPerShard": 3,
"flavorId": "3830ebad-ea2f-4822-8a7d-9e301c86a58d",
"parameterGroupId": "bbbbcccc-1234-1234-5678-e705e91db2fb",
"subnets": [
{"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"}
],
"subnetAssignments": [
{
"primary": {"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
"replicas": [
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"},
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"}
]
},
{
"primary": {"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
"replicas": [
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"},
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"}
]
}
],
"user": {
"name": "testuser",
"password": "if2iOwJYiklliJIT8tvqoY~~~~"
},
"tlsEnabled": false,
"restoreSource": {
"backupName": "{restore-source-backup-name-env}"
},
"backupSchedule": {
"cron": "* 1 * * *",
"retentionLimit": 7
},
"securityGroups": [
{"id": "abcdxxxx-4870-4c4e-a267-2de13e38c2ea"},
{"id": "qwergggg-4870-4c4e-a267-2de13e38c2ea"}
]
}
Response
Status codeDescription
201Successfully created
400Invalid user request
401Unauthorized
403Forbidden
409Duplicate request conflict
422Valid request but cannot proceed
500Internal server error
FieldTypeDescription
objectIdStringCluster ID
Create cluster response example
201 Created
content-length: 52
content-type: application/json; charset=UTF-8

{
"objectId": "qwerqwer-7347-4d87-a49f-e705e91db2fb"
}

Create cluster using existing backup name (restore)

Restore a cluster using an existing backup name.

info

You can only restore using the same cluster mode as the source, and only with the same or newer Redis engine version.

caution

If the source backup's cache size exceeds 60% of the new flavor's memory, restore may fail.

Request
Create cluster using backup name request syntax
curl -X POST "https://redis.kr-central-2.kakaocloud.com/v1/clusters" \
-H "X-Auth-Token: {token-id}" \
-H "Content-Type: application/json" \
-d '{Body}'
TypeParameterTypeDescription
Header{token-id}*StringSee API authentication token
HeaderContent-Type*StringDefault: application/json
Bodyname*StringCluster name
descriptionStringCluster description
version*StringRedis version
port*IntegerRedis port (2000–50000)
shardCount*IntegerNumber of shards
- Must match the source backup’s shard count
nodeCountPerShard*IntegerNumber of nodes per shard
flavorId*StringFlavor ID
parameterGroupId*StringParameter group ID
subnets[]*Object arrayList of subnets for placement
subnets[].id*StringSubnet ID
- See Console > VPC > Subnet
subnetAssignments[]*Object arraySubnet assignment list
subnetAssignments[].primary*ObjectSubnet for primary node
subnetAssignments[].primary.id*StringPrimary subnet ID
subnetAssignments[].replicas[]*Object arrayReplica subnets
subnetAssignments[].replicas[].id*StringReplica subnet ID
tlsEnabledBooleanEnable TLS
restoreSourceObjectRestore source info
- If omitted, a new cluster is created instead of restoring
restoreSource.backupNamesStringName of the Redis backup to restore
backupScheduleObjectAutomatic backup policy
backupSchedule.cronStringCron expression (5 fields only)
backupSchedule.retentionLimitIntegerRetention period (days)
userObjectDB user info
user.nameStringDB username
user.passwordStringEncrypted password or hash
How to encrypt DB user password
securityGroups[]*Object arrayList of security groups
securityGroups[].id*StringSecurity group ID
- See Console > VPC > Security group
Create cluster using backup name request body example
{
"name": "test-cluster",
"description": "test-cluster",
"version": "6.2.5",
"port": 6379,
"shardCount": 2,
"nodeCountPerShard": 3,
"flavorId": "3830ebad-ea2f-4822-8a7d-9e301c86a58d",
"parameterGroupId": "bbbbcccc-1234-1234-5678-e705e91db2fb",
"subnets": [
{"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"}
],
"subnetAssignments": [
{
"primary": {"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
"replicas": [
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"},
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"}
]
},
{
"primary": {"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
"replicas": [
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"},
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"}
]
}
],
"user": {
"name": "testuser",
"password": "if2iOwJYiklliJIT8tvqoY~~~~",
},
"tlsEnabled": false,
"restoreSource": {
"backupName": "{restore-source-backup-name-env}"
},
"backupSchedule": {
"cron": "* 1 * * *",
"retentionLimit": 7
},
"securityGroups": [
{"id": "abcdxxxx-4870-4c4e-a267-2de13e38c2ea"},
{"id": "qwergggg-4870-4c4e-a267-2de13e38c2ea"}
]
}
Response
Status codeDescription
201Successfully created
400Invalid user request
401Unauthorized
403Forbidden
409Duplicate request conflict
422Valid request, but cannot be processed
500Internal server error
FieldTypeDescription
objectIdStringCluster ID
Create cluster using backup name response example
201 Created
content-length: 52
content-type: application/json; charset=UTF-8

{
"objectId": "qwerqwer-7347-4d87-a49f-e705e91db2fb"
}

Update cluster information

Update specific fields of a cluster.

Request
Update cluster information request syntax
curl -X PATCH "https://redis.kr-central-2.kakaocloud.com/v1/clusters/{cluster-id}" \
-H "accept: application/json" \
-H "X-Auth-Token: {token-id}" \
-d '{
"backupSchedule": {
"cron": "* 3 * * *",
"retentionLimit": 15
},
"description": "modify description",
"parameterGroupId": "bbbbcccc-1234-1234-5678-e705e91db2fb",
"securityGroups": [
{
"id": "ba9a0303-024a-47a4-b1c6-90ada7ca74fb"
},
{
"id": "2133fb76-8dda-492f-afce-9a9bc5f1cb9f"
}
]
}'
TypeParameterTypeDescription
URL{cluster-id}*StringCluster ID
Header{token-id}*StringSee API authentication token
BodybackupScheduleObjectBackup schedule settings
backupSchedule.cronStringCron expression (5 fields, time only)
- If set to "", disables backup
backupSchedule.retentionLimitIntegerBackup retention period (in days)
descriptionStringCluster description to update
parameterGroupIdStringID of the parameter group to apply
- Cannot be updated to an empty value ("")
securityGroups[]Object arrayList of security group IDs to update
securityGroups[].idStringSecurity group ID
Update cluster information request body example
{
"backupSchedule": {
"cron": "* 3 * * *",
"retentionLimit": 15
},
"description": "modify description",
"parameterGroupId": "bbbbcccc-1234-1234-5678-e705e91db2fb",
"securityGroups": [
{
"id: "ba9a0303-024a-47a4-b1c6-90ada7ca74fb"
}, {
"id: "2133fb76-8dda-492f-afce-9a9bc5f1cb9f"
}
]
}
Response
Status codeDescription
200Successfully updated
400Invalid user request
401Unauthorized
403Forbidden
404Resource not found
500Internal server error
FieldTypeDescription
objectIdStringCluster ID
Update cluster information response example
200 OK
content-length: 52
content-type: application/json; charset=UTF-8

{
"objectId": "qwerqwer-7347-4d87-a49f-e705e91db2fb"
}

Delete cluster

Delete a specific cluster.

Request
Delete cluster request syntax
curl -X DELETE "https://redis.kr-central-2.kakaocloud.com/v1/clusters/{cluster-id}?keepAutomaticBackups={keep-auto-backup}" \
-H "X-Auth-Token: {token-id}"
TypeParameterTypeDescription
URL{cluster-id}*StringCluster ID
Query{keep-auto-backup}BooleanWhether to retain automatic backups
- Required if automatic backups exist
- true: Retains automatic backups and deletes them on their expiration date
- false: Deletes automatic backups along with the cluster
Header{token-id}*StringSee API authentication token
Response
Status codeDescription
200Successfully deleted
400Invalid user request
401Unauthorized
403Forbidden
404Resource not found
500Internal server error
FieldTypeDescription
objectIdStringCluster ID
Delete cluster response example
200 OK
content-length: 52
content-type: application/json; charset=UTF-8

{
"objectId": "qwerqwer-7347-4d87-a49f-e705e91db2fb"
}

Add shard

Add a shard to a specific cluster.

Request
Add shard request syntax
curl -X POST "https://redis.kr-central-2.kakaocloud.com/v1/clusters/{cluster-id}/shards" \
-H "X-Auth-Token: {token-id}" \
-d '{Body}'
TypeParameterTypeDescription
URL{cluster-id}*StringCluster ID
Header{token-id}StringSee API authentication token
BodynodeCount*IntegerNumber of nodes to add in the shard
subnetAssignments[]*ObjectSubnet assignment list
subnetAssignments[].primary*ObjectSubnet for the primary node
subnetAssignments[].primary.id*StringPrimary subnet ID
subnetAssignments[].replicas[]*ArrayList of subnets for replicas
subnetAssignments[].replicas[].id*StringReplica subnet ID
Add shard request body example
{
"nodeCount": 3,
"subnetAssignments": {
"primary": {"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
"replicas": [
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"},
{"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"}
]
}
}
Response
Status codeDescription
201Successfully created
400Invalid user request
401Unauthorized
403Forbidden
404Resource not found
500Internal server error
FieldTypeDescription
objectIdStringCluster ID
Add shard response example
201 Created
content-length: 52
content-type: application/json; charset=UTF-8

{
"objectId": "875bb16f-7347-4d87-a49f-e705e91db2fb"
}

Retrieve shard list in cluster

Retrieve the list of shards in a specific cluster.

Request
Retrieve shard list request syntax
curl -X GET "https://redis.kr-central-2.kakaocloud.com/v1/clusters/{cluster-id}/shards" \
-H "X-Auth-Token: {token-id}"
TypeParameterTypeDescription
URL{cluster-id}*StringCluster ID
Header{token-id}StringSee API authentication token
Response
Status codeDescription
200Successfully retrieved
400Invalid user request
401Unauthorized
403Forbidden
404Resource not found
500Internal server error
FieldTypeDescription
shards[]Object arrayList of shards
shards[].idStringShard ID
shards[].nameStringShard name
shards[].slotsStringAssigned slot range
shards[].nodes[]Object arrayList of nodes in the shard
shards[].nodes[].idStringNode ID
shards[].nodes[].nameStringNode name
shards[].nodes[].subnetObjectSubnet information for the node
shards[].nodes[].subnet.idStringSubnet ID where the node is placed
shards[].nodes[].endpointStringNode endpoint (private IP)
shards[].nodes[].roleStringNode role (primary/replica)
shards[].nodes[].statusStringNode status
shards[].nodes[].createdAtStringNode creation time (RFC3339)
shards[].statusStringShard status
shards[].createdAtStringShard creation time (RFC3339)
Retrieve shard list response example
200 OK
content-type: application/json; charset=UTF-8

{
"shards": [
{
"id": "001",
"name": "test-cluster-001",
"slots": "0-8191",
"nodes": [
{
"id": "aaaaaaaa-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-001-001",
"subnet": {"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
"endpoint": "10.184.x.x",
"role": "primary",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
},
{
"id": "bbbbbbbb-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-001-002",
"subnet": {"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"},
"endpoint": "10.184.x.x",
"role": "replica",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
},
{
"id": "cccccccc-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-001-003",
"subnet": {"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"},
"endpoint": "10.184.x.x",
"role": "replica",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
}
],
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
},
{
"id": "002",
"name": "test-cluster-002",
"slots": "8192-16383",
"nodes": [
{
"id": "dddddddd-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-002-001",
"subnet": {"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"},
"endpoint": "10.184.x.x",
"role": "primary",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
},
{
"id": "eeeeeeee-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-002-002",
"subnet": {"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
"endpoint": "10.184.x.x",
"role": "replica",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
},
{
"id": "ffffffff-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-002-003",
"subnet": {"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
"endpoint": "10.184.x.x",
"role": "replica",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
}
],
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
}
]
}

Retrieve shard details

Retrieve detailed information about a specific shard in a specific cluster.

Request
Retrieve shard details request syntax
curl -X GET "https://redis.kr-central-2.kakaocloud.com/v1/clusters/{cluster-id}/shards/{shard-id}" \
-H "X-Auth-Token: {token-id}"
TypeParameterTypeDescription
URL{cluster-id}*StringCluster ID
{shard-id}*StringShard ID
Header{token-id}*StringSee API authentication token
Response
Status codeDescription
200Successfully retrieved
400Invalid user request
401Unauthorized
403Forbidden
404Resource not found
500Internal server error
FieldTypeDescription
idStringShard ID
nameStringShard name
slotsStringAssigned slot range
nodes[]Object arrayList of nodes
nodes[].idStringNode ID
nodes[].nameStringNode name
nodes[].subnetObjectSubnet information
nodes[].subnet.idStringSubnet ID
nodes[].endpointStringNode endpoint (private IP)
nodes[].roleStringNode role (primary/replica)
nodes[].statusStringNode status
nodes[].createdAtStringNode creation timestamp (RFC3339)
statusStringShard status
createdAtStringShard creation timestamp (RFC3339)
Retrieve shard details response example
200 OK
content-type: application/json; charset=UTF-8

{
"id": "001",
"name": "test-cluster-001",
"slots": "0-8191",
"nodes": [
{
"id": "aaaaaaaa-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-001-001",
"subnet": { "id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b" },
"endpoint": "10.184.x.x",
"role": "primary",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
},
{
"id": "bbbbbbbb-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-001-002",
"subnet": { "id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b" },
"endpoint": "10.184.x.x",
"role": "replica",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
},
{
"id": "cccccccc-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-001-003",
"subnet": { "id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b" },
"endpoint": "10.184.x.x",
"role": "replica",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
}
],
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
}

Delete shard

Delete a specific shard from a specific cluster.

Request
Delete shard request syntax
curl -X DELETE "https://redis.kr-central-2.kakaocloud.com/v1/clusters/{cluster-id}/shards/{shard-id}" \
-H "X-Auth-Token: {token-id}"
TypeParameterTypeDescription
URL{cluster-id}*StringCluster ID
{shard-id}*StringShard ID
Header{token-id}*StringSee API authentication token
Response
Status codeDescription
200Successfully retrieved or deleted
400Invalid user request
401Unauthorized
403Forbidden
404Resource not found
500Internal server error
FieldTypeDescription
objectIdStringCluster ID
Delete shard response example
200 OK
content-length: 52
content-type: application/json; charset=UTF-8

{
"objectId": "qwerqwer-7347-4d87-a49f-e705e91db2fb"
}

Add replica to shard

Add a replica node to a specific shard in a specific cluster.

Request
Add replica to shard request syntax
curl -X POST "https://redis.kr-central-2.kakaocloud.com/v1/clusters/{cluster-id}/shards/{shard-id}/nodes" \
-H "X-Auth-Token: {token-id}" \
-d '{Body}'
TypeParameterTypeDescription
URL{cluster-id}*StringCluster ID
{shard-id}*StringShard ID
Header{token-id}*StringSee API authentication token
Bodysubnet*ObjectSubnet assignment information
subnet.id*StringSubnet ID to assign
Add replica to shard request body example
{
"subnet": { "id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b" }
}
Response
Status codeDescription
201Successfully created
400Invalid user request
401Unauthorized
403Forbidden
404Resource not found
500Internal server error
FieldTypeDescription
objectIdStringCluster ID
Add replica to shard response example
201 Created
content-length: 52
content-type: application/json; charset=UTF-8

{
"objectId": "qwerqwer-7347-4d87-a49f-e705e91db2fb"
}

View list of instances (nodes) in shard

Retrieve the list of instances (nodes) in a specific shard within a specific cluster.

Request
View list of instances (nodes) in shard request syntax
curl -X GET "https://redis.kr-central-2.kakaocloud.com/v1/clusters/{cluster-id}/shards/{shard-id}/nodes" \
-H "X-Auth-Token: {token-id}"
TypeParameterTypeDescription
URL{cluster-id}*StringCluster ID
{shard-id}*StringShard ID
Header{token-id}*StringSee API authentication token
Response
Status codeDescription
200Successfully retrieved or deleted
400Invalid user request
401Unauthorized
403Forbidden
404Resource not found
500Internal server error
FieldTypeDescription
nodes[]Object arrayNode list
nodes[].idStringNode ID
nodes[].nameStringNode name
nodes[].subnetObjectSubnet assigned to node
nodes[].subnet.idStringSubnet ID
nodes[].endpointStringNode endpoint (private IP)
nodes[].roleStringNode role (primary/replica)
nodes[].statusStringNode status
nodes[].createdAtStringNode creation time (RFC3339)
View list of instances (nodes) in shard response example
200 OK
content-length: 52
content-type: application/json; charset=UTF-8

{
"nodes": [
{
"id": "aaaaaaaa-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-001-001",
"subnet": {"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
"endpoint": "10.184.x.x",
"role": "primary",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
},
{
"id": "bbbbbbbb-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-001-002",
"subnet": {"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"},
"endpoint": "10.184.x.x",
"role": "replica",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
},
{
"id": "cccccccc-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-001-003",
"subnet": {"id": "yyyyyyyy-0a69-4f8b-b56d-59ce12b4d55b"},
"endpoint": "10.184.x.x",
"role": "replica",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
}
]
}

View instance (node) details

Retrieve detailed information of specific instance (node) in specific shard within cluster.

Request
View instance (node) details request syntax
curl -X GET "https://redis.kr-central-2.kakaocloud.com/v1/clusters/{cluster-id}/shards/{shard-id}/nodes/{node-id}" \
-H "X-Auth-Token: {token-id}"
TypeParameterData typeDescription
URL{cluster-id}*StringCluster ID
{shard-id}*StringShard ID
{node-id}*StringNode ID
Header{token-id}*StringSee API authentication token
Response
Status codeDescription
200Successfully retrieved
400Invalid request
401Unauthorized
403Forbidden
404Resource not found
500Internal server error
FieldTypeDescription
idStringNode ID
nameStringNode name
subnetObjectSubnet assigned to node
subnet.idStringSubnet ID
endpointStringNode endpoint (private IP)
roleStringNode role (primary/replica)
statusStringNode status
createdAtStringNode creation time (RFC3339)
View instance (node) details response example
200 OK
content-length: 52
content-type: application/json; charset=UTF-8

{
"id": "aaaaaaaa-c12e-46f9-81a0-60ab1950a480",
"name": "test-cluster-001-001",
"subnet": {"id": "xxxxxxxx-0a69-4f8b-b56d-59ce12b4d55b"},
"endpoint": "10.184.x.x",
"role": "primary",
"status": "Modifying",
"createdAt": "2024-03-06T02:35:13Z"
}

Delete instance (node)

Deletes a specific instance (node) in a specific shard of a cluster.
※ Primary nodes cannot be deleted.

Request
Delete instance (node) request syntax
curl -X DELETE "https://redis.kr-central-2.kakaocloud.com/v1/clusters/{cluster-id}/shards/{shard-id}/nodes/{node-id}" \
-H "X-Auth-Token: {token-id}"
TypeParameterData TypeDescription
URL{cluster-id}*StringCluster ID
{shard-id}*StringShard ID
{node-id}*StringNode ID
Header{token-id}*StringSee API authentication token
Response
Status CodeDescription
200Successfully retrieved or deleted the resource
400Invalid request
401Unauthorized
403Forbidden
404Resource not found
500Internal server error
FieldTypeDescription
objectIdStringCluster ID
Delete instance (node) response example
200 OK
content-length: 52
content-type: application/json; charset=UTF-8

{
"objectId": "qwerqwer-7347-4d87-a49f-e705e91db2fb"
}