def delete_logs(
    *,
    logs: Optional[Union[int, unify.Log, List[Union[int, unify.Log]]]] = None,
    project: Optional[str] = None,
    context: Optional[str] = None,
    api_key: Optional[str] = None,
) -> Dict[str, str]:

source code

Deletes logs from a project.

Arguments:

  • logs - log(s) to delete from a project.
  • project - Name of the project to delete logs from.
  • api_key - If specified, unify API key to be used. Defaults to the value in the

Returns:

A message indicating whether the logs were successfully deleted.