<< Click to Display Table of Contents >> Navigation: API > servergroups > clone |
Description
Clones a server cluster.
Syntax
https://api.cameyo.com/servers/[servergroup-id]/clone?clientId=...&clientSecret=...&name=...
Required parameters
•servergroup-id: ID of server cluster ID to clone (see https://online.cameyo.com/servergroups)
Optional parameters
•name: name for the cloned cluster. If no name is provided, the new cluster's name will be identical to the source cluster, with a ".copy" suffix.
Return
200: success. In this case, a JSON object is returned with the new cluster ID within the 'message' field.
400: invalid parameters.
403: authentication failed or insufficient permissions.
Response examples
{"success":true,"message":"5f18b57b-9ef1-41bb-bb6b-bd3fbb729db2"}
{"success":false,"code":"400","message":"Forbidden characters in name"}