wireguard_keys
countintegerrequired
items object[]required
Array [
idstring<uuid>
Unique identifier for the WireGuard key
Example:
2765b005-4ce1-4b2b-a9ca-ee6c4d6f2792usernamestring
Username of the WireGuard key owner
Example:
joe@privx.comuser_idstring<uuid>
User id of the WireGuard key owner
Example:
f2f448d8-0397-4894-982f-9a58a43921dbsourcestring<uuid>
User source ID
namestringrequired
Name for WireGuard key
Example:
workcommentstring
Comment for WireGuard key
Example:
Joe's work laptop keypublic_keystring<byte>required
WireGuard key in base64 format
Example:
GMSx5I+v+N1VZ401QU1kDuv9wYq5C9D/I8h1QtwBoSM=not_beforestring<date-time>
Start of key validity period
Example:
2020-07-31T17:32:28Znot_afterstring<date-time>
End of key validity period
Example:
2022-07-31T17:32:28Z]
wireguard_keys
{
"count": 0,
"items": [
{
"id": "2765b005-4ce1-4b2b-a9ca-ee6c4d6f2792",
"username": "joe@privx.com",
"user_id": "f2f448d8-0397-4894-982f-9a58a43921db",
"source": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "work",
"comment": "Joe's work laptop key",
"public_key": "GMSx5I+v+N1VZ401QU1kDuv9wYq5C9D/I8h1QtwBoSM=",
"not_before": "2020-07-31T17:32:28Z",
"not_after": "2022-07-31T17:32:28Z"
}
]
}