Header

List all server groups

This method allows you to retrieve a list of all server groups within a project template.

/templates/<permalink>/server_groups
  • Replace <permalink> with the permalink of your template.

HTTP Method

GET

Supported Parameters

None

Example cURL Request

curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
https://atech.deployhq.com/templates/api-created/server_groups

Example response

[
  {
    "identifier":"1247fa2d-b383-4af5-a28c-c17a05e8bd9b",
    "name":"Server group",
    "servers":[],
    "preferred_branch":null,
    "last_revision":null
  }
]

Proudly powered by Katapult. Running on 100% renewable energy.