netbird/management/server/http/api
Misha Bragin fe63a64b6e
Add Account HTTP API (#691)
Extend HTTP API with Account endpoints to configure global peer login expiration.
GET /api/accounts
PUT /api/account/{id}/

The GET endpoint returns an array of accounts with
always one account in the list. No exceptions.

The PUT endpoint updates account settings:
PeerLoginExpiration and PeerLoginExpirationEnabled.

PeerLoginExpiration is a duration in seconds after which peers' logins will expire.
2023-02-16 12:00:41 +01:00
..
cfg.yaml Feature/add nameservers API endpoint (#491) 2022-10-10 11:06:54 +02:00
generate.sh Feature/add nameservers API endpoint (#491) 2022-10-10 11:06:54 +02:00
openapi.yml Add Account HTTP API (#691) 2023-02-16 12:00:41 +01:00
types.gen.go Add Account HTTP API (#691) 2023-02-16 12:00:41 +01:00