Placement Groups

Get a PlacementGroup

Gets a specific Placement Group object.

get/placement_groups/{id}

Request

  • Base URL: https://api.hetzner.cloud/v1
  • URL: https://api.hetzner.cloud/v1/placement_groups/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

ID of the Placement Group.

Example:42

ID of the Placement Group.

Response

Request succeeded.

Example response

{
  "placement_group": {
    "id": 42,
    "name": "my-resource",
    "labels": {
      "environment": "prod",
      "example.com/my": "label",
      "just-a-key": ""
    },
    "type": "spread",
    "created": "2016-01-30T23:55:00Z",
    "servers": [
      42
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.