Skip to main content

delete_context_handler

Function delete_context_handler 

Source
pub async fn delete_context_handler(
    __arg0: State<Arc<NodeState>>,
    __arg1: Path<String>,
) -> impl IntoResponse
Expand description

Handler for DELETE /scp/dev/v1/contexts/{id}.

Removes the broadcast context matching the given id path parameter. Returns HTTP 204 No Content on success, or HTTP 404 if no context with that ID is registered.

See spec section 18.10.3.