Skip to content
Pages in Reference

Services

Reference Updated View as Markdown
Method Path What it does Permission Sudo Approval
GET /api/services List Services server.read
POST /api/services Create Service root_equivalent yes yes
POST /api/services/verify Verify Unit root_equivalent
GET /api/services/{name} Get Service server.read
DELETE /api/services/{name} Delete Service server.manage yes
GET /api/services/{name}/config Get Service Config secrets.reveal
PUT /api/services/{name}/config Update Service Config root_equivalent yes yes
POST /api/services/{name}/disable Disable Service apps.operate
POST /api/services/{name}/enable Enable Service apps.operate
GET /api/services/{name}/logs Get Service Logs server.read
POST /api/services/{name}/restart Restart Service apps.operate
POST /api/services/{name}/start Start Service apps.operate
POST /api/services/{name}/stop Stop Service apps.operate
GET /api/services/{name}/tags Get Service Tags server.read
PUT /api/services/{name}/tags Put Service Tags server.manage

Something on this page is wrong or unclear? Report it on GitHub.

Help, contributing and the project’s policies are under Project.

Search the documentation

Type to search every page.

↑ ↓ to move, Enter to open, Esc to close