service_remove
Stop and remove a Docker Swarm service by deleting its definition and shutting down tasks. No confirmation or undo.
Instructions
Stop and remove a swarm service.
Requires a swarm manager. Deletes the service definition and shuts down its tasks — no
confirmation, no undo. To stop work but keep the definition, service_scale to 0 replicas.
args: id_or_name - The service id or name returns: bool - True after the service is removed
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id_or_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |