Skip to content
OpenCode
Esc
navigateopen⌘Jpreview

Remove shell command

Terminate and remove one shell command and its retained output.

DELETE/api/shell/{id}
Path parameters
idobjectrequired
Query parameters
locationobject | any
Responses
204<No Content>
400InvalidRequestError
_tagstringrequired
Allowed:InvalidRequestError
messagestringrequired
kindstring | any
Show properties
Any of:
string
string
any
any
fieldstring | any
Show properties
Any of:
string
string
any
any
401UnauthorizedError
_tagstringrequired
Allowed:UnauthorizedError
messagestringrequired
404ShellNotFoundError
_tagstringrequired
Allowed:ShellNotFoundError
idstringrequired
messagestringrequired
Request
curl -X DELETE "/api/shell/%5Bobject%20Object%5D"
Response
<No Content>