def delete_context(
    name: str,
    *,
    delete_children: bool = True,
    project: Optional[str] = None,
    api_key: Optional[str] = None,
) -> None:

source code

Delete a context from the server.

Arguments:

  • name - Name of the context to delete.
  • delete_children - Whether to delete child contexts (which share the same ”/” separated prefix).
  • project - Name of the project the context belongs to.
  • api_key - If specified, unify API key to be used. Defaults to the value in the