Skip to content

Unwrap Outline Node

POST
/api/writing/outline/nodes/{node_id}/unwrap

Remove a container node, reparenting children to its parent.

node_id
required
Node Id
string
>= 1 characters

Successful Response

OutlineUnwrapResponse

Result of unwrapping a container node.

object
unwrappedNodeId
required
Unwrappednodeid
string
childrenReparented
required
Childrenreparented
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