def rollback_project(
    name: str,
    commit_hash: str,
    *,
    api_key: Optional[str] = None,
) -> Dict[str, str]:

source code

Rolls back the entire project to a specific commit.

Arguments:

  • name - Name of the project to roll back.
  • commit_hash - The hash of the commit to restore.
  • api_key - If specified, unify API key to be used. Defaults to the value in the

Returns:

A message indicating the success of the rollback operation.