WireGuard Interfaces

Retrieve the WireGuard Peer

Returns the details of a single WireGuard peer by its identifier.

get/wireguard_peers/{id}

Path parameters

idstring uuid required
Example:6a09cdc3-8948-47f0-aa62-74ac943d6c58

Identifies the resource.

Response

Successful response

Example response

{
  "data": {
    "created_at": "2018-02-02T22:25:27.521Z",
    "id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58",
    "record_type": "wireguard_peer",
    "updated_at": "2018-02-02T22:25:27.521Z",
    "public_key": "qF4EqlZq+5JL2IKYY8ij49daYyfKVhevJrcDxdqC8GU=",
    "last_seen": "2018-02-02T22:25:27.521Z",
    "private_key": "qF4EqlZq+5JL2IKYY8ij49daYyfKVhevJrcDxdqC8GU=",
    "wireguard_interface_id": "6a09cdc3-8948-47f0-aa62-74ac943d6c58"
  }
}

Changes

Changed in 2 of the 61 revisions of this API.4

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status 422

      response-property-type-changed

    • the errors/items/code response's property type/format changed from integer/int32 to string/ for status default

      response-property-type-changed

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status 422

      response-property-type-changed

    • the errors/items/code response's property type/format changed from string/ to integer/int32 for status default

      response-property-type-changed

    This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog