portainer_stack_delete
Remove a deployed Portainer stack using its stack ID, with optional endpoint ID for targeting the correct environment.
Instructions
Delete a stack.
Args: stack_id: The ID of the stack to delete 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 |