Skip to content

Kill ALL terminal sessions for this user's box

DELETE
/api/workspaces/{workspaceId}/apps-v2/{id}/terminal-sessions

What leaving dev mode means: every bash shell and this app’s dev session die (ptys, dtach sessions, recordings), so re-entering dev starts from one fresh terminal instead of reattaching old ones. Other apps’ dev sessions are untouched. Idempotent.

workspaceId
required
string
id
required
string

Successful response

object
success

Whether the request succeeded.

boolean
data

Endpoint-specific response payload.

message
string
Example
Operation completed
error
string
Example
Error message

Invalid request

object
success
boolean
error
string
Example
Error message

Internal server error

object
success
boolean
error
string
Example
Error message