Server Management

Remove Server From Groups Api

Remove a service from scope groups via JWT authentication (External API).

This endpoint provides the same functionality as POST /api/internal/remove-from-groups 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):

  • server_name (required): Service name
  • group_names (required): Comma-separated list of group names to remove

Response: Returns confirmation of removal from groups.

Example:

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

Request

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

Request body application/x-www-form-urlencoded

server_namestring required
group_namesstring required

Response

Successful Response

unknown required

Changes

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