Reverts a specified commit for a given application and rebuilds it based on the commit configuration.
success
if successful, error
if not.error
if not successful.UNAUTHORIZED
: The user is not authenticated or lacks sufficient permissions.FORBIDDEN
: The user does not have access to the application.APP_NOT_FOUND
: The specified application does not exist.COMMIT_NOT_FOUND
: The specified commit does not exist.BACKUP_DATA_NOT_FOUND
: Required backup data could not be found.INVALID_LANGUAGE
: The application language could not be detected or is invalid.NO_CONFIG_FILE
: No configuration file was found in the commit.FAILED_TO_REVERT_COMMIT
: The revert operation failed.FAILED_TO_REBUILD_APP
: The rebuild after revert failed.USER_NOT_FOUND
: The owner of the application was not found.