---
updatedAt: 2026-07-26T12:14:49.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/security/llms.txt
---

# Modify cluster name by ID

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "Runtime Security RESTful API",
    "version": "1.0.0",
    "description": "This document describes the Runtime Security RESTful API.<br/>\nAt the moment these API Endpoints can only be used internally,<br/>\nby the Runtime Frontend and other JPD services.\n"
  },
  "servers": [
    {
      "url": "http://localhost:9999/v1",
      "description": "localhost"
    },
    {
      "url": "http://demo-runtime.jfrog.net/v1",
      "description": "demo"
    }
  ],
  "tags": [
    {
      "name": "Clusters",
      "description": "Cluster listing, details, registration, and lifecycle operations."
    }
  ],
  "paths": {
    "/ui/clusters/{id}": {
      "post": {
        "tags": [
          "Clusters"
        ],
        "summary": "Modify cluster name by ID",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "clusterName"
                ],
                "properties": {
                  "clusterName": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Modify Cluster Name By ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Success message."
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid cluster name",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "Error message."
          }
        },
        "required": [
          "message"
        ]
      }
    }
  }
}
```