v1

latestOpenAPI 3.1.02026-07-177545150.1 KB
Server Management

Remove Service Api

Remove a service via JWT Bearer Token authentication (External API).

This endpoint provides the same functionality as POST /api/internal/remove but uses modern JWT Bearer token authentication.

Authentication: JWT Bearer token (via nginx X-User header) Authorization: Requires valid JWT token from auth system

Request body (form data):

  • path (required): Service path to remove

Response: Returns confirmation of removal.

Example:

curl -X POST https://registry.example.com/api/servers/remove \
  -H "Authorization: Bearer $JWT_TOKEN" \
  -F "path=/myservice"
post/api/servers/remove

Response

Successful Response

{"stackTrail":"paths:/api/servers/remove:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}