POST /api/sam/admin/cluster
Create a new cluster
Description
Add this cluster to the %SAM.Cluster table.
To use this endpoint, you must log in as a user with access to the %SAM.Admin resource.
Request Example
POST http://localhost:8080/api/sam/admin/cluster
JSON request packet:
{
"name": "test",
"description": "A cluster of test instances"
}
Note:
The cluster name is always saved as lowercase. Any uppercase characters are converted to lowercase.
Response Example
{
"id": 2
}