Skip to content
OpenCode
Esc
navigateopen⌘Jpreview

Remove instruction entry

Remove one instruction entry; the removal is announced to the model at the next step boundary.

DELETE/api/session/{sessionID}/instructions/entries/{key}
Path parameters
sessionIDobjectrequired
keyInstructionEntry.Keyrequired
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
404SessionNotFoundError
Any of:
SessionNotFoundError
_tagstringrequired
Allowed:SessionNotFoundError
sessionIDstringrequired
messagestringrequired
SessionNotFoundError
_tagstringrequired
Allowed:SessionNotFoundError
sessionIDstringrequired
messagestringrequired
Request
curl -X DELETE "/api/session/%5Bobject%20Object%5D/instructions/entries/%5Bobject%20Object%5D"
Response
<No Content>