Get your free beta license ↗
API operation · services group
POST

/services/{name}/stop

First published 14 Oct 20260.2.0Unchanged since publication

Stop a daemon

Who may call it
AdministratorResellerCustomer
Token scope, any of
settingsall
Answers200 OK

UrbeStack stops the daemon immediately and records who stopped it. The monitor leaves the daemon stopped until it is started again. The daemon starts at boot.

Invalid name syntax or a request to stop an absent daemon or one of UrbeStack's own daemons returns HTTP 400.

Parameters

namepath ·string, matching ^[a-z][a-z0-9.-]{0,39}$Required
UrbeStack daemon name returned by GET /services, such as postfix, php-8.3, panel-web, or mariadb.

Request body

JSON ·ServiceControlRequest· 1 field
waitinteger, 1 to 120
Time to wait for the daemon to respond during startup.

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X POST "$API/services/alice/stop" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "wait": 1
  }'
Response · 200 OK
{
  "action": "text",
  "daemon": {
    "at_boot": true,
    "check": {
      "ok": true,
      "words": "text"
    },
    "checked_by": "text",
    "cuts": "text",
    "depth": "answer",
    "falls_30d": 1,
    "group": "Panel",
    "guard": 1,
    "has_log": true,
    "installed": true,
    "last_check_at": "text",
    "last_check_words": "text",
    "last_restart_at": "text",
    "may_disable": true,
    "may_stop": true,
    "name": "alice",
    "need": "text",
    "pid": 1,
    "role": "user",
    "rounds": 1,
    "since": "text",
    "state": "up",
    "stopped_at": "text",
    "stopped_by": "text",
    "stopped_from": "text",
    "systemd_restarts": 1,
    "timeout": 1,
    "unit": "text",
    "version": "0.0.1",
    "watched": true
  },
  "detached": true,
  "result": "text",
  "was": "text"
}

Errors

2 errors, each a status and a sentence
400A daemon is named with letters, digits, dots and hyphens
401Authentication required
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/api/post-services-name-stop/