DocsAPI ReferenceTerminal/bff/terminal/cancel
postTerminalAdmin BFF

/bff/terminal/cancel

Cancel running command

TerminalpostBffTerminalCancel

Parameters

2 body

2 total
Body · 2
cwdstring

Current working directory

commandIdstringRequired

ID of the command to cancel

Request

POST /bff/terminal/cancel

post
curl -X POST "https://api.bizkithub.com/bff/terminal/cancel" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "cwd": "/drive",
  "commandId": "example_commandId"
}'

Response

JSON payload

{
  "commandId": "example_commandId",
  "outputs": [],
  "cwd": "/drive",
  "duration": 0
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key