From 88234d40460059cfce4f3146fc54d923831f7287 Mon Sep 17 00:00:00 2001 From: Florian Preinstorfer Date: Fri, 19 Jun 2026 17:22:02 +0200 Subject: [PATCH] Replace /swagger with /api/v1/docs --- docs/ref/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/api.md b/docs/ref/api.md index 5e3677f8..f483b065 100644 --- a/docs/ref/api.md +++ b/docs/ref/api.md @@ -29,12 +29,12 @@ headscale apikeys expire --prefix ## REST API - API endpoint: `/api/v1`, e.g. `https://headscale.example.com/api/v1` -- Documentation: `/swagger`, e.g. `https://headscale.example.com/swagger` +- Documentation: `/api/v1/docs`, e.g. `https://headscale.example.com/api/v1/docs` - Headscale Version: `/version`, e.g. `https://headscale.example.com/version` - Authenticate using HTTP Bearer authentication by sending the [API key](#api) with the HTTP `Authorization: Bearer ` header. Start by [creating an API key](#api) and test it with the examples below. Read the API documentation provided by your -Headscale server at `/swagger` for details. +Headscale server at `/api/v1/docs` for details. === "Get details for all users"