Clear Editor Context
DELETE /api/divinity/editor-context/{project_id}
DELETE
/api/divinity/editor-context/{project_id}
Clear the editor context for one project.
Returns cleared=1 when a row existed, 0 otherwise. Idempotent
— repeated DELETEs return cleared=0 without error.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” project_id
required
Project Id
string
Responses
Section titled “ Responses ”Successful Response
EditorContextClearResponse
DELETE /api/divinity/editor-context[/{project_id}] response.
object
success
required
Success
boolean
cleared
required
Cleared
integer
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context