JavaScript
import { createCognitioClient } from "@cognitio/sdk
const client = createCognitioClient()
await client.pty.remove({
...
})true{
"name": "NotFoundError",
"data": {
"message": "<string>"
}
}API Reference
Remove PTY session
Remove and terminate a specific pseudo-terminal (PTY) session.
DELETE
/
pty
/
{ptyID}
JavaScript
import { createCognitioClient } from "@cognitio/sdk
const client = createCognitioClient()
await client.pty.remove({
...
})true{
"name": "NotFoundError",
"data": {
"message": "<string>"
}
}