Skip to content

Clear Editor Context

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.

project_id
required
Project Id
string

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>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object