service_remove
Stop and remove a Docker Swarm service by deleting its definition and shutting down its tasks. Use when permanent removal is required, as this action has no 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.
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 |