Skip to content
OpenCode
Esc
navigateopen⌘Jpreview

Cancel form

Cancel a pending form.

POST/api/session/{sessionID}/form/{formID}/cancel
Path parameters
sessionIDstringrequired
formIDobjectrequired
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 | FormNotFoundError
Any of:
FormNotFoundError
_tagstringrequired
Allowed:FormNotFoundError
idstringrequired
messagestringrequired
SessionNotFoundError
_tagstringrequired
Allowed:SessionNotFoundError
sessionIDstringrequired
messagestringrequired
SessionNotFoundError
_tagstringrequired
Allowed:SessionNotFoundError
sessionIDstringrequired
messagestringrequired
409FormAlreadySettledError
_tagstringrequired
Allowed:FormAlreadySettledError
idstringrequired
messagestringrequired
Request
curl -X POST "/api/session/string/form/%5Bobject%20Object%5D/cancel"
Response
<No Content>