---
title: "Perform stack action"
method: POST
path: "/api/v1/stackaction/{id}/{action}"
tags: ["Stack"]
---

# Perform stack action

`POST /api/v1/stackaction/{id}/{action}`

## Request

- Base URL: `https://stackby.com`
- URL: `https://stackby.com/api/v1/stackaction/{id}/{action}`
- Auth: HTTP bearer

Execute various actions on stack

## Path parameters

- `id` integer, required
- `action` string, required

## Request body

- object

## Response `200`

Action performed successfully

- ApiResponse
  - `success` boolean
  - `message` string
  - `data` object
  - `timestamp` string, date-time

---

[API](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation.md) - [All operations](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation/revisions/c9909a003a56?raw)
