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

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Request body application/x-www-form-urlencoded

pathstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 4 revisions of this API.