From 80e39d66c8299b3d2a3066d21f8960b7d9a1555e Mon Sep 17 00:00:00 2001 From: mwdomino Date: Tue, 30 Jul 2024 08:50:20 -0400 Subject: [PATCH] add doc --- docs/user_guide/api/other.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/user_guide/api/other.md b/docs/user_guide/api/other.md index 53b17696..3d181065 100644 --- a/docs/user_guide/api/other.md +++ b/docs/user_guide/api/other.md @@ -15,4 +15,15 @@ Health check endpoint for Kubernetes or similar { "status": "healthy" } - ``` \ No newline at end of file + ``` + +## /api/v1/admin/shutdown + +### `POST /api/v1/admin/shutdown` + +Gracefully shut down the application + +=== "Request" + ```bash + curl --request POST gnmic-api-address:port/api/v1/admin/shutdown + ```