portainer_stack_stop
Stop a running stack in Portainer by providing its stack ID to halt services and free resources.
Instructions
Stop a running stack.
Args: stack_id: The ID of the stack to stop endpoint_id: Endpoint ID (derived from the stack itself if omitted)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack_id | Yes | ||
| endpoint_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |